Skip to content

fix: add semantic release #6

fix: add semantic release

fix: add semantic release #6

Workflow file for this run

name: Create tag and release
on:
push:
branches:
- main
permissions:
pull-requests: write # to be able to comment on released pull requests
issues: write # to be able to comment on released issues
contents: write # to be able to publish a GitHub release
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm i -G semantic-release@~23.0.0 @semantic-release/exec@~6.0.3 @semantic-release/git@~10.0.1
npx semantic-release