Skip to content

Commit

Permalink
chore: set up semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
faergeek committed Feb 7, 2024
1 parent 30dc514 commit f6ebc70
Show file tree
Hide file tree
Showing 3 changed files with 1,229 additions and 8 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release
on:
push:
branches:
- '**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v4
with:
cache: pnpm
node-version-file: .nvmrc
- run: pnpm install --frozen-lockfile
- run: pnpm exec semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"eslint": "^8.56.0",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"semantic-release": "^23.0.2",
"typescript": "^5.3.3",
"vitest": "^1.2.2"
}
Expand Down
Loading

0 comments on commit f6ebc70

Please sign in to comment.