Skip to content

Workflow file for this run

on:
push:
tags:
- '[a-z]+@[0-9]+.[0-9]+.[0-9]+'
- '[a-z]+-[a-z]+@[0-9]+.[0-9]+.[0-9]+'
- '[a-z]+-[a-z]+-[a-z]+@[0-9]+.[0-9]+.[0-9]+'
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # The OIDC ID token is used for authentication with JSR.
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Release
run: pnpm publish-release-ci ${{ github.ref_name }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}