Skip to content

Commit f12fa93

Browse files
committed
ci: support CI and release via reusable workflow
Ticket: VL-2052
1 parent d12fbeb commit f12fa93

File tree

3 files changed

+127
-84
lines changed

3 files changed

+127
-84
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
name: CI
3+
4+
on:
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
uses: BitGo/gha-release-typescript-library/.github/workflows/ci.yml@v3

.github/workflows/release.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: Release
3+
4+
permissions:
5+
# Needed for semantic-release
6+
contents: write
7+
pull-requests: write
8+
issues: write
9+
10+
on:
11+
push:
12+
branches:
13+
- master
14+
- next
15+
- next-major
16+
- beta
17+
- alpha
18+
- "[0-9]+.[0-9]+.x"
19+
- "[0-9]+.x"
20+
21+
env:
22+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
23+
24+
jobs:
25+
release:
26+
uses: BitGo/gha-release-typescript-library/.github/workflows/release.yml@v3

package-lock.json

Lines changed: 92 additions & 84 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)