Skip to content

0.5.0

0.5.0 #11

Workflow file for this run

name: Release
on:
push:
tags: ['v*']
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
registry-url: https://registry.npmjs.org
cache: npm
- name: Upgrade npm for trusted publishing
run: npm install -g npm@latest
- run: npm ci
- name: Lint
run: npm run lint
- name: Format check
run: npm run format:check
- name: Test
run: npm test
- name: Build
run: npm run build
- name: Publish to npm
run: npm publish --provenance --access public
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true