From 0f5cf005decc6024992a2cb019767aba237127f5 Mon Sep 17 00:00:00 2001 From: Darryl Pogue Date: Thu, 24 Oct 2024 22:42:03 -0700 Subject: [PATCH 1/2] chore(ci): Add Node 22 to CI and fix dependabot PRs --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a4346298..bb2f6f50 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,13 @@ name: Node CI -on: [push, pull_request] +on: + push: + branches-ignore: + - 'dependabot/*' + pull_request: + branches: + - '*' jobs: test: @@ -25,7 +31,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [16.x, 18.x, 20.x, 22.x] os: [ubuntu-latest, windows-latest, macos-latest] steps: From 9f321d25ca3652c12391755fbba7631042712cfe Mon Sep 17 00:00:00 2001 From: Darryl Pogue Date: Thu, 24 Oct 2024 22:50:06 -0700 Subject: [PATCH 2/2] chore(ci): Add CodeQL code scanning --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb2f6f50..0efaf9da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,11 +47,23 @@ jobs: node --version npm --version + - uses: github/codeql-action/init@v3 + with: + languages: javascript + queries: security-and-quality + config: | + paths-ignore: + - pkg + - coverage + - node_modules + - name: npm install and test run: npm cit env: CI: true + - uses: github/codeql-action/analyze@v3 + - uses: codecov/codecov-action@v4 if: success() with: