Skip to content

Commit

Permalink
fix publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
g-plane committed Jan 25, 2024
1 parent 500d1c8 commit 3775350
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v2.4.0
with:
version: 8.10.5
version: 8.14.1
run_install: true
- name: Add Rust target
run: rustup target add wasm32-unknown-unknown
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/Publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,16 @@ jobs:
- uses: actions/setup-node@v3
with:
registry-url: "https://registry.npmjs.org"
- name: Setup pnpm
uses: pnpm/action-setup@v2.4.0
with:
version: 8.14.1
run_install: true
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown
- run: npm install -g npm
- run: npm publish --provenance --access public
- run: pnpm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish crates
Expand Down

0 comments on commit 3775350

Please sign in to comment.