Skip to content

Commit

Permalink
ci: update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
EndBug committed May 24, 2022
1 parent 952dca0 commit ce527e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
- uses: actions/checkout@v2

- name: Set up Node.js for NPM
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
registry-url: 'https://registry.npmjs.org'

- run: npm install
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand All @@ -31,11 +31,11 @@ jobs:
- uses: actions/checkout@v2

- name: Set up Node.js for GPR
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
registry-url: 'https://npm.pkg.github.com/'

- run: npm install
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ce527e1

Please sign in to comment.