Skip to content

Commit

Permalink
chore: add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
thonatos committed Jan 4, 2024
1 parent 3ae0ad2 commit a7cfd94
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Release
on:
push:
tags:
- v1.*

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Git config user
run: |
git config --local user.name "artusxbot"
git config --local user.email "[email protected]"
- uses: actions/setup-node@v3
with:
node-version: 20
- name: Verify Change Logs
run: node common/scripts/install-run-rush.js change --verify
- name: Rush Install
run: node common/scripts/install-run-rush.js install
- name: Rush rebuild
run: node common/scripts/install-run-rush.js rebuild
- name: Rush publish
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: node common/scripts/install-run-rush.js publish --include-all --publish

0 comments on commit a7cfd94

Please sign in to comment.