Skip to content

Commit

Permalink
chore: Also update version in publish.yml (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
arv authored Nov 7, 2024
1 parent eb9f1f8 commit 171b4c3
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: https://registry.npmjs.org
- name: Dependencies
run: |
sudo apt-get update
sudo apt-get install binaryen
yarn
- name: Build
run: yarn build
- name: Publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish
- uses: actions/checkout@v3
- name: Node.js
uses: actions/setup-node@v3
with:
node-version: 22.x
registry-url: https://registry.npmjs.org
- name: Dependencies
run: |
sudo apt-get update
sudo apt-get install binaryen
yarn
- name: Build
run: yarn build
- name: Publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish

0 comments on commit 171b4c3

Please sign in to comment.