Skip to content

Commit

Permalink
Merge pull request #13 from AikidoSec/npm-publish
Browse files Browse the repository at this point in the history
Set release version in package.json
  • Loading branch information
willem-delbare authored Sep 27, 2024
2 parents 513d519 + 27d7c2a commit b192a3a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/wasm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ jobs:
- name : Copy package.wasm.json file
run: |
cp package.wasm.json ./pkg/package.json
- name: Get the version
id: get_version
run: echo ::set-output name=tag::${GITHUB_REF/refs\/tags\//}
- run: cd pkg && npm --no-git-tag-version version ${{ steps.get_version.outputs.tag }}
- name: Publish to npm
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # Use npm token from secrets
Expand Down

0 comments on commit b192a3a

Please sign in to comment.