Parallelise publish
This commit is contained in:
parent
fdebfbd80e
commit
267313c204
1 changed files with 11 additions and 4 deletions
15
.github/workflows/check.yml
vendored
15
.github/workflows/check.yml
vendored
|
|
@ -44,7 +44,17 @@ jobs:
|
|||
cargo test --features wasm
|
||||
wasm-pack test --node --features wasm
|
||||
|
||||
publish:
|
||||
publish-crate:
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/main'
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Publish to crates.io
|
||||
run: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }}
|
||||
|
||||
publish-npm:
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/main'
|
||||
|
|
@ -67,9 +77,6 @@ jobs:
|
|||
run: |
|
||||
wasm-pack build --target web --features wasm
|
||||
|
||||
- name: Publish to crates.io
|
||||
run: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }}
|
||||
|
||||
- name: Build reconcile-js
|
||||
run: |
|
||||
cd reconcile-js
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue