Skip to content

feat\!: integrate semantic-release using github actions ci/cd #1

feat\!: integrate semantic-release using github actions ci/cd

feat\!: integrate semantic-release using github actions ci/cd #1

Workflow file for this run

name: 🚀 Semantic Release
on:
push:
branches:
- main
permissions:
contents: write
issues: write
pull-requests: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # semantic-release needs full commit history
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Run Semantic Release
run: yarn dlx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}