Skip to content

ci: rename workflow #47

ci: rename workflow

ci: rename workflow #47

Workflow file for this run

name: Release & Publish
on:
push:
branches:
- main
paths:
- 'src/**'
- '.github/workflows/release.yaml'
permissions:
contents: read
jobs:
tests:
uses: ./.github/workflows/test.yaml
release:
name: Release
needs: [tests]
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Install dependencies
run: npm clean-install
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
- name: Build
run: npm run build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release