Skip to content

Commit

Permalink
npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
zees-dev committed Feb 13, 2024
1 parent 219b5c5 commit 87a5209
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/actions/install-wasm-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ runs:
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'
cache-dependency-path: js/pnpm-lock.yaml
- name: Install JS deps
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/cd-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ jobs:
run: |
wasm-pack pack ./pkg
echo "The version of the package is: $(cat pkg/package.json | jq -r .version)"
working-directory: js
- name: Publish to NPM
run: wasm-pack publish --tag next --access public
# run: wasm-pack publish --tag next --access public
run: wasm-pack publish --tag latest --access public
working-directory: js
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 87a5209

Please sign in to comment.