Skip to content

feat(ci): implement automatic release with semantic-release #1

feat(ci): implement automatic release with semantic-release

feat(ci): implement automatic release with semantic-release #1

Workflow file for this run

name: Release
on:
push:
branches:
- main
permissions:
contents: write # For creating releases and tags
issues: write # For commenting on issues
pull-requests: write # For commenting on PRs
jobs:
release:
name: Semantic Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for semantic-release
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install dependencies
run: npm ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release