File tree 1 file changed +9
-10
lines changed
1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 33
33
node-version : 16.x
34
34
registry-url : https://registry.npmjs.org
35
35
36
- - name : Build
37
- run : npm run build
38
-
39
- - name : Publish new version
40
- # Note: Setting NODE_AUTH_TOKEN as job|workspace wide env var won't work
41
- # as it appears actions/setup-node sets own value
42
- env :
43
- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
44
- run : npm publish
45
-
46
36
# Normally we have a guarantee that deps are already there, still it may not be the case when:
47
37
# - `master` build for same commit failed (and we still pushed tag manually)
48
38
# - We've pushed tag manually before `master` build finalized
52
42
npm update --no-save
53
43
npm update --save-dev --no-save
54
44
45
+ - name : Build
46
+ run : npm run build
47
+
48
+ - name : Publish new version
49
+ # Note: Setting NODE_AUTH_TOKEN as job|workspace wide env var won't work
50
+ # as it appears actions/setup-node sets own value
51
+ env :
52
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
53
+ run : npm publish
55
54
- name : Publish release notes
56
55
run : |
57
56
TEMP_ARRAY=($(echo $GITHUB_REF | tr "/" "\n"))
You can’t perform that action at this time.
0 commit comments