Skip to content

Commit 4c892be

Browse files
committed
Update github actions
1 parent a04d77c commit 4c892be

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/on-merge-main-deploy-npmjs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ jobs:
1616
node-version: "16.x"
1717
registry-url: "https://registry.npmjs.org"
1818
- run: npm ci
19+
- run: npm install npm@latest -g
20+
- run: npm config set registry http://registry.npmjs.org
1921
- run: npm run npm-build-package:npmjs
20-
- run: cd dist/npm
22+
- run: rm .npmrc && cd dist/npm
2123
- run: npm publish
2224
env:
2325
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

0 commit comments

Comments
 (0)