Skip to content
This repository was archived by the owner on Jul 17, 2025. It is now read-only.

Semantic release workflow #12

Semantic release workflow

Semantic release workflow #12

name: Semantic release workflow
on:
workflow_dispatch
permissions:
contents: read # for checkout
jobs:
semantic-release:
name: semantic-release
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "22.13.1"
- name: Install dependencies
run: npm install
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release