Parallelise publish

This commit is contained in:
Andras Schmelczer 2025-07-09 22:43:34 +01:00
parent fdebfbd80e
commit 267313c204
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C

View file

@ -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