Skip to content

Commit

Permalink
chore: add semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinkosterr committed Nov 8, 2024
1 parent 1d5cc61 commit eb33e4b
Show file tree
Hide file tree
Showing 4 changed files with 14,681 additions and 3,485 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Release on push to production branch

on:
push:
branches:
- production

permissions:
contents: write
issues: write
pull-requests: write

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: yarn install --immutable
- name: Running tests
run: yarn run test
- name: Building
run: yarn run build
- name: Running audit
run: yarn audit signatures
- name: Semantic release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Loading

0 comments on commit eb33e4b

Please sign in to comment.