Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
branches:
- main

permissions:
id-token: write # Required for OIDC
contents: write # Required for pushing commits
pull-requests: write # Required for creating pull requests

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
Expand All @@ -18,7 +23,11 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 22
registry-url: "https://registry.npmjs.org"
cache: "pnpm"
# Ensure npm 11.5.1 or later is installed for trusted publishing
- name: Update npm
run: npm install -g npm@latest
- name: Install dependencies
run: pnpm install
- name: Generate API Documentation
Expand All @@ -31,7 +40,6 @@ jobs:
publish: pnpm run publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Update jsr.json
run: |
Expand Down
Loading