Skip to content

Commit

Permalink
Enable node 22 tests (#1034)
Browse files Browse the repository at this point in the history
* Enable node 22 tests

Signed-off-by: Prabhu Subramanian <[email protected]>

---------

Signed-off-by: Prabhu Subramanian <[email protected]>
  • Loading branch information
prabhu committed May 3, 2024
1 parent 7005a76 commit 606ae06
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dockertests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:

strategy:
matrix:
node-version: ['21.x']
node-version: ['22.x']
java-version: ['21']
steps:
- uses: actions/checkout@v4
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/repotests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: ['21.x']
node-version: ['21.x', '22.x']
os: ['ubuntu-latest', 'windows-latest']
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -401,10 +401,11 @@ jobs:
- name: buntests
run: |
rm -rf node_modules
bun install --frozen-lockfile
bun install
bun --bun bin/cdxgen.js -p -t java repotests/java-sec-code -o bomresults/bom-java-sec-code-bun.json --deep
bun --bun bin/cdxgen.js -p -t python repotests/django-DefectDojo -o bomresults/django-DefectDojo-bun.json
continue-on-error: true
shell: bash
- name: denotests
run: |
deno info bin/cdxgen.js
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"source.organizeImports.biome": "explicit",
"quickfix.biome": "explicit"
},
"editor.defaultFormatter": "biomejs.biome"
"editor.defaultFormatter": "biomejs.biome",
"deno.enable": true
}
7 changes: 4 additions & 3 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
"compilerOptions": {
"allowJs": true,
"lib": ["deno.window"],
"outDir": "types",
"exclude": ["*.test.js", "./types/**/*"],
"skipLibCheck": true,
"strict": true
},
"include": ["*.js", "data/", "bin/"],
Expand Down Expand Up @@ -38,7 +36,10 @@
},
"tasks": {
"start": "deno run --allow-read --allow-env --allow-run --allow-sys=uid,systemMemoryInfo,gid --allow-write --allow-net bin/cdxgen.js",
"exe": "deno compile --allow-read --allow-env --allow-run --allow-sys=uid,systemMemoryInfo,gid --allow-write --allow-net --output build/cdxgenx-devel bin/cdxgen.js"
"exe": "deno compile --allow-read --allow-env --allow-run --allow-sys=uid,systemMemoryInfo,gid --allow-write --allow-net --output build/cdxgenx-devel bin/cdxgen.js",
"lint:check": "biome check *",
"lint": "biome check --apply-unsafe *",
"gen-types": "npx -p typescript tsc"
},
"imports": {
"@appthreat/atom": "npm:@appthreat/[email protected]",
Expand Down

0 comments on commit 606ae06

Please sign in to comment.