Skip to content
Merged
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
23 changes: 15 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
concurrency: ${{ github.workflow }}-${{ github.ref }}

permissions:
id-token: write
contents: write

jobs:
Expand All @@ -27,9 +28,9 @@ jobs:
version: 9.5

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v6
with:
node-version: "20.x"
node-version: "22.x"
registry-url: "https://registry.npmjs.org"
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
Expand Down Expand Up @@ -69,9 +70,9 @@ jobs:
version: 9.5

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v6
with:
node-version: "20.x"
node-version: "22.x"
registry-url: "https://registry.npmjs.org"
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
Expand Down Expand Up @@ -284,17 +285,23 @@ jobs:
with:
version: 9.5

- name: Setup Node.js 20
uses: actions/setup-node@v3
- name: Setup Node.js 22
uses: actions/setup-node@v6
with:
node-version: "20.x"
node-version: "22.x"
registry-url: 'https://registry.npmjs.org'
cache: pnpm

- name: Configure pnpm
run: |
pnpm config set auto-install-peers true
pnpm config set exclude-links-from-lockfile true

- name: Update npm
run: |
npm install -g npm@^11.6
npm --version

- name: Install dependencies
run: pnpm install --frozen-lockfile

Expand Down Expand Up @@ -322,7 +329,7 @@ jobs:
createGithubReleases: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: "" # See https://github.com/changesets/changesets/issues/1152#issuecomment-3190884868
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

- name: Update lock file
Expand Down