set registry to npm and use NODE_AUTH_TOKEN

This commit is contained in:
Rick van Lieshout 2022-09-04 23:48:12 +02:00
parent 0406d3f43a
commit 69cb62172c

View File

@ -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