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 31
31
github.event.release.prerelease == true
32
32
runs-on : ubuntu-latest
33
33
steps :
34
+ - name : 🔄 Init Cache
35
+ uses : ./.github/actions/npm-cache
36
+
34
37
- name : Publish experimental Packages to NPM
35
38
run : |
36
39
GITHUB_SHA_SHORT=$(echo $GITHUB_SHA | cut -c1-7)
48
51
- name : ⬇️ Checkout repo
49
52
uses : actions/checkout@v3
50
53
54
+ - name : 🔄 Init Cache
55
+ uses : ./.github/actions/npm-cache
56
+
51
57
- name : Publish stable packages
52
58
run : |
53
59
SEMVER_VERSION=$(npx find-versions-cli ${{ github.event.release.tag_name }})
58
64
npm version --no-git-tag-version $VALID_SEMVER_VERSION --workspace=@ci-cd/abcd
59
65
npm run publish:abcd
60
66
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
-
71
67
publishnextgithub :
72
68
name : Publish experimental Packages to GitHub registry
73
69
needs : [test, cypress]
79
75
github.event.release.prerelease == true
80
76
runs-on : ubuntu-latest
81
77
steps :
78
+ - name : 🔄 Init Cache
79
+ uses : ./.github/actions/npm-cache
80
+
82
81
- name : Publish experimental Packages to GitHub
83
82
run : |
84
83
echo "publish next to github"
92
91
- name : ⬇️ Checkout repo
93
92
uses : actions/checkout@v3
94
93
94
+ - name : 🔄 Init Cache
95
+ uses : ./.github/actions/npm-cache
96
+
95
97
- name : Publish stable Packages to GitHub
96
98
run : |
97
99
echo "publish latest to github"
You can’t perform that action at this time.
0 commit comments