Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashuto7h authored Jun 24, 2023
1 parent 949ca0e commit af965c4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: 18.15.0
- run: yarn install --frozen-lockfile
Expand All @@ -23,11 +23,13 @@ jobs:
contents: read
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: 18.15.0
registry-url: https://npm.pkg.github.com/
registry-url: https://registry.npmjs.org
- run: |
npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
yarn install --frozen-lockfile
npm publish
npm publish
- env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit af965c4

Please sign in to comment.