Skip to content

Commit 15f405d

Browse files
committed
A new attempt to authorize NPM
1 parent 3a718a5 commit 15f405d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/npmpublish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
- uses: actions/setup-node@v1
3737
with:
3838
node-version: 16
39+
env:
40+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3941
- name: Download 'dist' from the previous Job
4042
uses: actions/download-artifact@v1
4143
with:
@@ -48,6 +50,4 @@ jobs:
4850
- name: Generate public README.md
4951
run: cp README.md dist/
5052
- run: npm publish dist --access public
51-
env:
52-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5353
- run: git push --no-verify & git push --tags --no-verify

0 commit comments

Comments
 (0)