Skip to content

Commit 3335cd6

Browse files
cx-sarah-chenBenAlvo1
authored andcommitted
Update Node version ( AST-72890) (CheckmarxDev#780)
* update * updat TS * package-lock upate
1 parent dcad97d commit 3335cd6

File tree

3 files changed

+56
-26
lines changed

3 files changed

+56
-26
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- uses: actions/checkout@v4
9+
with:
10+
lfs: true
11+
12+
- name: Install Git LFS
13+
run: |
14+
sudo apt-get update
15+
sudo apt-get install git-lfs
16+
git lfs install
17+
918
- name: Use Node.js 22.11.0
1019
uses: actions/[email protected]
1120
with:
@@ -16,6 +25,24 @@ jobs:
1625
run: npm run lint
1726
- run: npm run build --if-present
1827

28+
- name: Check existence of cx-linux binary
29+
run: |
30+
if [ ! -f "src/main/wrapper/resources/cx-linux" ]; then
31+
echo "cx-linux binary does not exist"; exit 1;
32+
fi
33+
34+
- name: Check existence of cx.exe binary
35+
run: |
36+
if [ ! -f "src/main/wrapper/resources/cx.exe" ]; then
37+
echo "cx.exe binary does not exist"; exit 1;
38+
fi
39+
40+
- name: Check existence of cx-mac binary
41+
run: |
42+
if [ ! -f "src/main/wrapper/resources/cx-mac" ]; then
43+
echo "cx-mac binary does not exist"; exit 1;
44+
fi
45+
1946
- name: Run tests
2047
env:
2148
CX_CLIENT_ID: ${{ secrets.CX_CLIENT_ID}}

package-lock.json

Lines changed: 27 additions & 24 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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"homepage": "https://github.com/CheckmarxDev/ast-cli-javascript-wrapper#readme",
2828
"devDependencies": {
2929
"@types/jest": "^27.5.0",
30-
"@types/node": "^20.14.11",
30+
"@types/node": "^22.9.0",
3131
"@typescript-eslint/eslint-plugin": "^5.29.0",
3232
"@typescript-eslint/parser": "^5.29.0",
3333
"copyfiles": "^2.4.1",
@@ -36,7 +36,7 @@
3636
"jest-cli": "29.7.0",
3737
"ts-jest": "^29.2.2",
3838
"ts-mockito": "^2.6.1",
39-
"typescript": "^5.5.3"
39+
"typescript": "^5.6.3"
4040
},
4141
"overrides": {
4242
"bluebird": "3.7.2"

0 commit comments

Comments
 (0)