Skip to content

Commit

Permalink
Create semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
killij committed Dec 7, 2023
1 parent b0f5eff commit e3ff361
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/semantic-release
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Semantic release
on:
push:
branches:
- main
- next

permissions:
contents: read # for checkout

jobs:
release:
name: Run semantic-release
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Check for release
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
run: npx semantic-release@22

0 comments on commit e3ff361

Please sign in to comment.