Skip to content

Commit

Permalink
chore(ci): Add Node 22 to CI, drop Node 14 (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpogue authored Oct 23, 2024
1 parent 35c4ef0 commit 73ed4f0
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,21 @@

name: Node CI

on: [push, pull_request]
on:
push:
branches-ignore:
- 'dependabot/*'
pull_request:
branches:
- '*'

jobs:
test:
name: NodeJS ${{ matrix.node-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x]
node-version: [16.x, 18.x, 20.x, 22.x]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
Expand All @@ -41,11 +47,22 @@ jobs:
node --version
npm --version
- uses: github/codeql-action/init@v3
with:
languages: javascript
queries: security-and-quality
config: |
paths-ignore:
- 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:
Expand Down

0 comments on commit 73ed4f0

Please sign in to comment.