Skip to content

Commit 933fbfa

Browse files
Merge pull request #76 from BitGo/WP-5314/add-semantic-release-workflow
ci: enable bitgo semantic release flow
2 parents 63acfb2 + af4c23f commit 933fbfa

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/release.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: Release
3+
4+
permissions:
5+
# Required by AWS CodeArtifact
6+
id-token: write
7+
8+
# Required by semantic-release
9+
contents: write
10+
pull-requests: write
11+
issues: write
12+
13+
on:
14+
push:
15+
branches:
16+
- master
17+
- next
18+
- next-major
19+
- beta
20+
- alpha
21+
- "[0-9]+.[0-9]+.x"
22+
- "[0-9]+.x"
23+
24+
jobs:
25+
release:
26+
uses: BitGo/gha-release-typescript-library/.github/workflows/release.yml@v3
27+
with:
28+
lint-node-version: '22.x'
29+
test-node-versions: '["22.x"]'
30+
release-node-version: '22.x'
31+
build-command: 'yarn build'
32+
test-command: 'yarn test'
33+
allow-postinstall-scripts: false

0 commit comments

Comments
 (0)