File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 19
19
- uses : actions/setup-node@v4
20
20
with :
21
21
node-version : 22
22
- registry-url : ' https://registry.npmjs.org'
23
22
24
23
- name : install
25
24
run : npm i
29
28
30
29
- name : publish
31
30
run : |
32
- echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN " >> .npmrc
31
+ echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN\nregistry=https://registry.npmjs.org/ " >> .npmrc
33
32
npm version $(node --eval="process.stdout.write(require('./package.json').version)")-dev.$(git rev-parse --short HEAD) --no-git-tag-version
34
- npm publish --userconfig ./.npmrc --provenance --access= public --no-git-tag-version --tag dev
33
+ npm publish --userconfig ./.npmrc --provenance --access public --no-git-tag-version --tag dev
35
34
env :
36
- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
35
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments