Skip to content

Commit

Permalink
deploy: fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
rah-emil committed Jan 24, 2024
1 parent d216d7b commit c2d335c
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: yarn install
- run: yarn build
- run: yarn npm publish --access public
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
- run: yarn install --frozen-lockfile
- run: yarn npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit c2d335c

Please sign in to comment.