Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Im-Rises committed Aug 26, 2023
1 parent fa95fc4 commit 0958b48
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/wasm-npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,12 @@ jobs:
- name: Build wasm
run: wasm-pack build --target web --out-name index --out-dir si-emu-pkg --release

- name: Setup Node.js
uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 16

- name: Publish to NPM
run: |
cd si-emu-pkg
npm publish
registry-url: https://registry.npmjs.org/
- run: cd si-emu-pkg
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit 0958b48

Please sign in to comment.