From ed3e6e138b5e760b83ca972444eb3ed293acf7a5 Mon Sep 17 00:00:00 2001 From: Ryan Bas Date: Sun, 10 May 2026 14:44:59 -0600 Subject: [PATCH] fix: upgrade to Node 24 for npm trusted publishing support Node 22 ships npm v10 which doesn't handle OIDC trusted publishing for scoped packages, returning E404. Node 24 ships npm v11 which fixes this. Also adds .prototools to pin node/pnpm versions. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/ci.yml | 2 +- .github/workflows/publish-extension.yml | 2 +- .github/workflows/release.yml | 4 ++-- .prototools | 2 ++ 4 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 .prototools diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f65914a..489bb56 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 22 + node-version: 24 cache: pnpm - run: pnpm install --frozen-lockfile diff --git a/.github/workflows/publish-extension.yml b/.github/workflows/publish-extension.yml index 68209e2..3be264b 100644 --- a/.github/workflows/publish-extension.yml +++ b/.github/workflows/publish-extension.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 22 + node-version: 24 cache: pnpm - run: pnpm install --frozen-lockfile diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 26e5b6b..e11ec84 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 22 + node-version: 24 cache: pnpm registry-url: https://registry.npmjs.org @@ -72,7 +72,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 22 + node-version: 24 cache: pnpm registry-url: https://registry.npmjs.org diff --git a/.prototools b/.prototools new file mode 100644 index 0000000..6a397ac --- /dev/null +++ b/.prototools @@ -0,0 +1,2 @@ +node = "24.2.0" +pnpm = "10.21.0"