-
Notifications
You must be signed in to change notification settings - Fork 2
82 lines (68 loc) · 2.01 KB
/
publish.yaml
File metadata and controls
82 lines (68 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
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