Skip to content

Commit

Permalink
github action: changeset instead of release branches
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasengels committed Oct 3, 2024
1 parent 095ecc8 commit 21dc15b
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
name: Release
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
branches:
- main

permissions:
contents: write
pull-requests: write

jobs:
release:
Expand All @@ -23,7 +26,13 @@ jobs:
cache: 'npm'
cache-dependency-path: package-lock.json
- run: npm ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release
- name: release-please-action
uses: googleapis/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: simple





0 comments on commit 21dc15b

Please sign in to comment.