Skip to content

Commit

Permalink
chore(ci): fix double npm release by separating jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
zvolin committed Sep 26, 2024
1 parent f6c703a commit d36cf85
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release-plz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,27 @@ jobs:
echo "Version updated: ${node_wasm_version}"
fi
release-npm:
name: Release-npm
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.RELEASE_PLZ_TOKEN }}

- name: Install Protoc
uses: arduino/setup-protoc@v2
with:
version: "23.3"
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable

- name: Install wasm-pack
uses: jetli/wasm-pack-action@v0.4.0
- name: Release to npm
env:
NPM_REGISTRY_TOKEN: ${{ secrets.NPM_REGISTRY_TOKEN }}
Expand Down

0 comments on commit d36cf85

Please sign in to comment.