Skip to content

Commit

Permalink
ci: support CI and release via reusable workflow
Browse files Browse the repository at this point in the history
Ticket: VL-2052
  • Loading branch information
bg-jasonyuan committed Jul 11, 2024
1 parent d12fbeb commit f12fa93
Show file tree
Hide file tree
Showing 3 changed files with 127 additions and 84 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
name: CI

on:
pull_request:

jobs:
test:
uses: BitGo/gha-release-typescript-library/.github/workflows/ci.yml@v3
26 changes: 26 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Release

permissions:
# Needed for semantic-release
contents: write
pull-requests: write
issues: write

on:
push:
branches:
- master
- next
- next-major
- beta
- alpha
- "[0-9]+.[0-9]+.x"
- "[0-9]+.x"

env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

jobs:
release:
uses: BitGo/gha-release-typescript-library/.github/workflows/release.yml@v3
176 changes: 92 additions & 84 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f12fa93

Please sign in to comment.