Skip to content

chore: release v2.1.2 #60

chore: release v2.1.2

chore: release v2.1.2 #60

Workflow file for this run

# This action will publish the package to npm and create a GitHub release.
name: Release
on:
# Run `npm run bump` to bump the version and create a git tag.
push:
tags:
- 'v*'
workflow_dispatch:
permissions:
contents: write
id-token: write
jobs:
publish:
runs-on: ubuntu-latest
environment: npm
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Setup pnpm
uses: pnpm/action-setup@8912a9102ac27614460f54aedde9e1e7f9aec20d # v6
- name: Setup Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: 24.15.0
# Update npm to the latest version to enable OIDC
# Use corepack to install pnpm
- name: Update npm CLI
run: |
npm install -g npm@latest
npm --version
- name: Install Dependencies
run: pnpm install
- name: Publish
uses: JS-DevTools/npm-publish@0fd2f4369c5d6bcfcde6091a7c527d810b9b5c3f # v4
with:
token: empty
- name: Create GitHub Release
uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1
with:
generateReleaseNotes: 'true'