Skip to content

Commit 8c893be

Browse files
committed
build: try fixing node version on nx runners
1 parent e679651 commit 8c893be

4 files changed

Lines changed: 53 additions & 80 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ concurrency:
1111

1212
env:
1313
NX_VERBOSE_LOGGING: true
14+
NODE_VERSION: "24"
1415
NX_CLOUD_ACCESS_TOKEN: "${{ secrets.NX_CLOUD_ACCESS_TOKEN }}"
1516
firebaseToken: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_TSPARTICLES }}"
1617

@@ -123,4 +124,4 @@ jobs:
123124
- name: Stop Nx Cloud session
124125
if: always() && env.NX_CLOUD_STARTED == 'true'
125126
continue-on-error: true
126-
run: npx nx-cloud stop-all-agents || echo "nx-cloud stop failed — ignoring"
127+
run: npx nx-cloud stop-all-agents || echo "nx-cloud stop failed — ignoring"

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ concurrency:
1414
cancel-in-progress: true
1515

1616
env:
17+
NODE_VERSION: "24"
1718
NX_CLOUD_DISTRIBUTED_EXECUTION: true
18-
NX_CLOUD_ACCESS_TOKEN: '${{ secrets.NX_CLOUD_ACCESS_TOKEN }}'
19+
NX_CLOUD_ACCESS_TOKEN: "${{ secrets.NX_CLOUD_ACCESS_TOKEN }}"
1920
ZIP_CONCURRENCY: 5
2021
IS_STABLE: ${{ !contains(github.ref, '-alpha.') && !contains(github.ref, '-beta.') }}
2122

@@ -32,7 +33,7 @@ jobs:
3233
- uses: actions/setup-node@v6
3334
name: Setup Node.js
3435
with:
35-
node-version: '24'
36+
node-version: "24"
3637
registry-url: https://registry.npmjs.org
3738

3839
- uses: pnpm/action-setup@v5.0.0
@@ -118,4 +119,4 @@ jobs:
118119

119120
- name: Stop Nx Cloud Session
120121
run: pnpm nx fix-ci
121-
if: always()
122+
if: always()

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
24

0 commit comments

Comments
 (0)