Skip to content

Commit

Permalink
Merge pull request #1 from faergeek/add-semantic-release
Browse files Browse the repository at this point in the history
chore: set up semantic release
  • Loading branch information
faergeek authored Feb 7, 2024
2 parents 30dc514 + f6ebc70 commit e9b13a1
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 e9b13a1

Please sign in to comment.