File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change 1616 version : 6.24.3
1717 - uses : actions/setup-node@v2
1818 with :
19- node-version : " 14.x "
19+ node-version : 16
2020 cache : pnpm
2121
2222 - name : install deps
@@ -36,16 +36,21 @@ jobs:
3636 needs : build
3737
3838 steps :
39- - uses : actions/checkout@v2
39+ - name : Checkout Repo
40+ uses : actions/checkout@v2
41+ - uses : actions/setup-node@v2
42+ with :
43+ node-version : 16
44+ registry-url : " https://registry.npmjs.org"
4045
4146 - uses : actions/download-artifact@v2
4247 with :
4348 name : dist
44- path : " . "
49+ path : dist
4550
4651 - name : publish to NPM
47- # Don't fail if version already exists
48- run : pnpm publish --access public || echo "Version already published" && exit 0
52+ working-directory : dist
53+ run : npm publish --access public
4954 env :
5055 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
5156
7479 version : 6.24.3
7580 - uses : actions/setup-node@v2
7681 with :
77- node-version : ${{ matrix.node }}
82+ node-version : 16
7883 cache : pnpm
7984
8085 - name : install deps
You can’t perform that action at this time.
0 commit comments