Skip to content

Commit fd8d2d1

Browse files
committed
Add correct publish env variable
1 parent fd07595 commit fd8d2d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/publish.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
- uses: actions/setup-node@v3
1212
with:
1313
node-version: 18
14+
registry-url: 'https://registry.npmjs.org'
1415
- name: Install dependencies
1516
run: npm ci
1617
- name: Lint code
@@ -22,4 +23,4 @@ jobs:
2223
- name: Deploy package
2324
run: npm publish
2425
env:
25-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
26+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.npmrc

-1
This file was deleted.

0 commit comments

Comments
 (0)