Skip to content

release: v0.20.0

release: v0.20.0 #36

Workflow file for this run

name: Release
permissions:
id-token: write
on:
workflow_dispatch:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10
run_install: false
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'
- name: Upgrade npm for OIDC trusted publishing support
run: npm install -g npm@11.5.1
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
working-directory: sqg
run: pnpm build
- name: Publish to npm
working-directory: sqg
run: pnpm publish --provenance --access public --no-git-checks
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true