File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -33,23 +33,27 @@ jobs:
33
33
uses : actions/setup-node@v3
34
34
with :
35
35
node-version : ' 20'
36
+ registry-url : ' https://registry.npmjs.org'
36
37
37
38
- name : Enable Corepack
38
39
run : corepack enable
39
40
40
41
- name : Install dependencies
41
42
run : yarn --immutable
42
43
44
+ - name : Generate archive
45
+ run : yarn pack
46
+
43
47
- name : Publish with latest tag
44
48
if : github.event.release.prelease == false
45
- run : yarn npm publish --tag latest
49
+ run : npm publish package.tgz --tag latest --provenance
46
50
working-directory : packages/react-clock
47
51
env :
48
- YARN_NPM_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
52
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
49
53
50
54
- name : Publish with next tag
51
55
if : github.event.release.prelease == true
52
- run : yarn npm publish --tag next
56
+ run : npm publish package.tgz --tag next --provenance
53
57
working-directory : packages/react-clock
54
58
env :
55
- YARN_NPM_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
59
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments