Skip to content

Commit 6691b51

Browse files
committed
Node 24 and permissions for nightly/changesets jobs
1 parent 91c3b1a commit 6691b51

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- name: ⎔ Setup node
6262
uses: actions/setup-node@v6
6363
with:
64-
node-version-file: ".nvmrc"
64+
node-version: 24 # Needed for npm@11 for Trusted Publishing
6565
cache: "pnpm"
6666

6767
- name: 📥 Install deps
@@ -103,7 +103,7 @@ jobs:
103103
- name: ⎔ Setup node
104104
uses: actions/setup-node@v6
105105
with:
106-
node-version-file: ".nvmrc"
106+
node-version: 24 # Needed for npm@11 for Trusted Publishing
107107
cache: "pnpm"
108108

109109
- id: find_package_version
@@ -145,6 +145,9 @@ jobs:
145145
name: 🌒 Nightly Release
146146
if: github.repository == 'remix-run/react-router' && github.event_name == 'schedule'
147147
runs-on: ubuntu-latest
148+
permissions:
149+
contents: write # enable pushing changes to the origin
150+
id-token: write # enable generation of an ID token for publishing
148151
outputs:
149152
# will be undefined if there's no release necessary
150153
NEXT_VERSION: ${{ steps.version.outputs.NEXT_VERSION }}
@@ -163,7 +166,7 @@ jobs:
163166
- name: ⎔ Setup node
164167
uses: actions/setup-node@v6
165168
with:
166-
node-version-file: ".nvmrc"
169+
node-version: 24 # Needed for npm@11 for Trusted Publishing
167170
cache: "pnpm"
168171

169172
- name: 📥 Install deps
@@ -231,7 +234,7 @@ jobs:
231234
- name: ⎔ Setup node
232235
uses: actions/setup-node@v6
233236
with:
234-
node-version: 24
237+
node-version: 24 # Needed for npm@11 for Trusted Publishing
235238
cache: "pnpm"
236239

237240
- name: 📥 Install deps

0 commit comments

Comments
 (0)