Skip to content

feat: add semantic release for automated versioning and changelog gen… #6

feat: add semantic release for automated versioning and changelog gen…

feat: add semantic release for automated versioning and changelog gen… #6

Workflow file for this run

# Simple workflow for deploying static content to GitHub Pages
name: Semantic Release
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
# Single deploy job since we're just deploying
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: "npm"
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Run semantic release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: npx semantic-release