Merge pull request #60 from BitGo/BTC-0-no-exports #18
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-utxo | |
| 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 build artifacts | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: wasm-utxo-build | |
| path: packages/wasm-utxo/ | |
| - 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 [email protected] | |
| - 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 |