Skip to content

Commit b17ebf6

Browse files
committed
bump github action node version
1 parent 6954498 commit b17ebf6

File tree

2 files changed

+16
-20
lines changed

2 files changed

+16
-20
lines changed

.github/workflows/ci.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
id: time
3333
uses: nanzm/[email protected]
3434
with:
35-
format: "YYYYMMDD_HHmm"
35+
format: 'YYYYMMDD_HHmm'
3636

3737
- name: Get Branch name for BUILD_LABEL
3838
id: branch_name
@@ -53,11 +53,11 @@ jobs:
5353
restore-keys: |
5454
${{ runner.os }}-m2
5555
56-
# - name: Cache IntelliJ Aspects
57-
# uses: actions/cache@v4
58-
# with:
59-
# path: ./bundles/com.salesforce.bazel.sdk/aspects
60-
# key: ${{ runner.os }}-aspects-${{ hashFiles('**/aspects/import/import-and-build.sh', '**/aspects/import/WORKSPACE') }}
56+
# - name: Cache IntelliJ Aspects
57+
# uses: actions/cache@v4
58+
# with:
59+
# path: ./bundles/com.salesforce.bazel.sdk/aspects
60+
# key: ${{ runner.os }}-aspects-${{ hashFiles('**/aspects/import/import-and-build.sh', '**/aspects/import/WORKSPACE') }}
6161

6262
- name: Cache Bazel repository cache
6363
uses: actions/cache@v4
@@ -77,17 +77,17 @@ jobs:
7777
- name: Setup Node version
7878
uses: actions/setup-node@v4
7979
with:
80-
node-version: 16
80+
node-version: 22
8181
cache: 'npm'
8282

8383
- name: 📦 Install dependencies
8484
run: npm ci
8585

8686
- name: 🏗 Build project
8787
env:
88-
BUILD_ID: "${{ steps.time.outputs.time }}"
89-
BUILD_TYPE: "S"
90-
BUILD_LABEL: "CI ${{ steps.time.outputs.time }} (${{ steps.branch_name.outputs.branch }})"
88+
BUILD_ID: '${{ steps.time.outputs.time }}'
89+
BUILD_TYPE: 'S'
90+
BUILD_LABEL: 'CI ${{ steps.time.outputs.time }} (${{ steps.branch_name.outputs.branch }})'
9191
run: npm run build
9292

9393
- name: 🧪 Run tests
@@ -96,7 +96,7 @@ jobs:
9696
PRINT_JDTLS_LOGS: true
9797
with:
9898
run: npm run test
99-
options: "-screen 0 1600x1200x24"
99+
options: '-screen 0 1600x1200x24'
100100

101101
- name: Upload Test Results
102102
uses: actions/upload-artifact@v4
@@ -128,7 +128,7 @@ jobs:
128128
if-no-files-found: error
129129

130130
event_file:
131-
name: "Event File"
131+
name: 'Event File'
132132
runs-on: ubuntu-latest
133133

134134
# needed for publishing test results from forks

test/runTest.ts

+4-8
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,10 @@ async function main() {
3737
resolveCliArgsFromVSCodeExecutablePath(vscodeExecutablePath);
3838

3939
// span vs code process for custom setup
40-
cp.spawnSync(
41-
cliPath,
42-
[...args, '--install-extension', 'redhat.java@prerelease'],
43-
{
44-
encoding: 'utf-8',
45-
stdio: 'inherit',
46-
}
47-
);
40+
cp.spawnSync(cliPath, [...args, '--install-extension', 'redhat.java'], {
41+
encoding: 'utf-8',
42+
stdio: 'inherit',
43+
});
4844

4945
// ensrue the user data area is empty
5046
if (fs.existsSync(testUserDataPath)) {

0 commit comments

Comments
 (0)