File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change 3131 github.event.release.prerelease == true
3232 runs-on : ubuntu-latest
3333 steps :
34+ - name : 🔄 Init Cache
35+ uses : ./.github/actions/npm-cache
36+
3437 - name : Publish experimental Packages to NPM
3538 run : |
3639 GITHUB_SHA_SHORT=$(echo $GITHUB_SHA | cut -c1-7)
4851 - name : ⬇️ Checkout repo
4952 uses : actions/checkout@v3
5053
54+ - name : 🔄 Init Cache
55+ uses : ./.github/actions/npm-cache
56+
5157 - name : Publish stable packages
5258 run : |
5359 SEMVER_VERSION=$(npx find-versions-cli ${{ github.event.release.tag_name }})
5864 npm version --no-git-tag-version $VALID_SEMVER_VERSION --workspace=@ci-cd/abcd
5965 npm run publish:abcd
6066
61- - uses : actions/github-script@v6
62- with :
63- script : |
64- github.rest.repos.updateRelease({
65- owner: context.payload.repository.owner.login,
66- repo: context.payload.repository.name,
67- release_id: context.payload.release.id,
68- body: process.env.CHANGELOG_TEXT
69- })
70-
7167 publishnextgithub :
7268 name : Publish experimental Packages to GitHub registry
7369 needs : [test, cypress]
7975 github.event.release.prerelease == true
8076 runs-on : ubuntu-latest
8177 steps :
78+ - name : 🔄 Init Cache
79+ uses : ./.github/actions/npm-cache
80+
8281 - name : Publish experimental Packages to GitHub
8382 run : |
8483 echo "publish next to github"
9291 - name : ⬇️ Checkout repo
9392 uses : actions/checkout@v3
9493
94+ - name : 🔄 Init Cache
95+ uses : ./.github/actions/npm-cache
96+
9597 - name : Publish stable Packages to GitHub
9698 run : |
9799 echo "publish latest to github"
You can’t perform that action at this time.
0 commit comments