set registry to npm and use NODE_AUTH_TOKEN
This commit is contained in:
parent
0406d3f43a
commit
69cb62172c
3
.github/workflows/publish.yml
vendored
3
.github/workflows/publish.yml
vendored
@ -17,11 +17,12 @@ jobs:
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
registry-url: "https://registry.npmjs.org"
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Release
|
||||
env:
|
||||
NPM_ACCESS_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
|
||||
run: npm run release
|
||||
|
Loading…
Reference in New Issue
Block a user