Skip to content

Commit d05df6e

Browse files
authored
chore(ci): Add Node 22 to CI and fix dependabot PRs (#282)
* chore(ci): Add Node 22 to CI and fix dependabot PRs * chore(ci): Add CodeQL code scanning
1 parent 29d7b0a commit d05df6e

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

.github/workflows/ci.yml

+20-2
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,21 @@
1717

1818
name: Node CI
1919

20-
on: [push, pull_request]
20+
on:
21+
push:
22+
branches-ignore:
23+
- 'dependabot/*'
24+
pull_request:
25+
branches:
26+
- '*'
2127

2228
jobs:
2329
test:
2430
name: NodeJS ${{ matrix.node-version }} on ${{ matrix.os }}
2531
runs-on: ${{ matrix.os }}
2632
strategy:
2733
matrix:
28-
node-version: [16.x, 18.x, 20.x]
34+
node-version: [16.x, 18.x, 20.x, 22.x]
2935
os: [ubuntu-latest, windows-latest, macos-latest]
3036

3137
steps:
@@ -41,11 +47,23 @@ jobs:
4147
node --version
4248
npm --version
4349
50+
- uses: github/codeql-action/init@v3
51+
with:
52+
languages: javascript
53+
queries: security-and-quality
54+
config: |
55+
paths-ignore:
56+
- pkg
57+
- coverage
58+
- node_modules
59+
4460
- name: npm install and test
4561
run: npm cit
4662
env:
4763
CI: true
4864

65+
- uses: github/codeql-action/analyze@v3
66+
4967
- uses: codecov/codecov-action@v4
5068
if: success()
5169
with:

0 commit comments

Comments
 (0)