Skip to content

Commit 685faf0

Browse files
author
Roo Code
committed
Require node v20 everywhere
1 parent b194408 commit 685faf0

File tree

7 files changed

+16
-9
lines changed

7 files changed

+16
-9
lines changed

.github/workflows/changeset-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
env:
1010
REPO_PATH: ${{ github.repository }}
1111
GIT_REF: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || 'main' }}
12+
NODE_VERSION: 20.18.1
1213

1314
jobs:
1415
# Job 1: Create version bump PR when changesets are merged to main
@@ -33,7 +34,7 @@ jobs:
3334
- name: Setup Node.js
3435
uses: actions/setup-node@v4
3536
with:
36-
node-version: 20
37+
node-version: ${{ env.NODE_VERSION }}
3738
cache: 'npm'
3839

3940
- name: Install Dependencies

.github/workflows/code-qa.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
types: [opened, reopened, ready_for_review, synchronize]
99
branches: [main]
1010

11+
env:
12+
NODE_VERSION: 20.18.1
13+
1114
jobs:
1215
compile:
1316
runs-on: ubuntu-latest
@@ -17,7 +20,7 @@ jobs:
1720
- name: Setup Node.js
1821
uses: actions/setup-node@v4
1922
with:
20-
node-version: '18'
23+
node-version: ${{ env.NODE_VERSION }}
2124
cache: 'npm'
2225
- name: Install dependencies
2326
run: npm run install:all
@@ -36,7 +39,7 @@ jobs:
3639
- name: Setup Node.js
3740
uses: actions/setup-node@v4
3841
with:
39-
node-version: '18'
42+
node-version: ${{ env.NODE_VERSION }}
4043
cache: 'npm'
4144
- name: Install dependencies
4245
run: npm run install:all
@@ -68,7 +71,7 @@ jobs:
6871
- name: Setup Node.js
6972
uses: actions/setup-node@v4
7073
with:
71-
node-version: '18'
74+
node-version: ${{ env.NODE_VERSION }}
7275
cache: 'npm'
7376
- name: Create env.integration file
7477
run: echo "OPENROUTER_API_KEY=${{ secrets.OPENROUTER_API_KEY }}" > .env.integration

.github/workflows/marketplace-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66

77
env:
88
GIT_REF: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || 'main' }}
9+
NODE_VERSION: 20.18.1
910

1011
jobs:
1112
publish-extension:
@@ -22,7 +23,7 @@ jobs:
2223

2324
- uses: actions/setup-node@v4
2425
with:
25-
node-version: 18
26+
node-version: ${{ env.NODE_VERSION }}
2627
- run: |
2728
git config user.name github-actions
2829
git config user.email [email protected]

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
lts/*
1+
v20.18.1

flake.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818
packages = with pkgs; [
1919
zsh
20-
nodejs_18
21-
corepack_18
20+
nodejs_20
21+
corepack_20
2222
];
2323

2424
shellHook = ''

package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"theme": "dark"
1111
},
1212
"engines": {
13-
"vscode": "^1.84.0"
13+
"vscode": "^1.84.0",
14+
"node": ">=20.18.1"
1415
},
1516
"author": {
1617
"name": "Roo Vet"

0 commit comments

Comments
 (0)