Merge pull request #246 from BitGo/BTC-3241-bip360-p2mr-support #177
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish @bitgo/wasm packages | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - beta | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| jobs: | |
| test: | |
| name: Test | |
| uses: ./.github/workflows/build-and-test.yaml | |
| with: | |
| upload-artifacts: true | |
| publish: | |
| name: Publish Release | |
| needs: test | |
| runs-on: ubuntu-latest | |
| environment: publish | |
| permissions: | |
| id-token: write | |
| contents: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Download wasm-utxo build artifacts | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: wasm-utxo-build | |
| path: packages/wasm-utxo/ | |
| - name: Download wasm-solana build artifacts | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: wasm-solana-build | |
| path: packages/wasm-solana/ | |
| - name: Download wasm-mps build artifacts | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: wasm-mps-build | |
| path: packages/wasm-mps/ | |
| - name: Download wasm-dot build artifacts | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: wasm-dot-build | |
| path: packages/wasm-dot/ | |
| - name: Download wasm-ton build artifacts | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: wasm-ton-build | |
| path: packages/wasm-ton/ | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24.11.0 | |
| registry-url: https://registry.npmjs.org | |
| - name: Ensure npm 11.5.1 | |
| run: | | |
| npm install -g npm@11.5.1 | |
| - name: Configure Git | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| - name: Install dependencies | |
| run: npm ci --workspaces --include-workspace-root | |
| - name: Release (multi-semantic-release) | |
| run: npx multi-semantic-release --ignore-private-packages |