Skip to content

Commit

Permalink
chore: update Node versions in ci matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
timkurvers committed Jan 21, 2024
1 parent 3d08d9d commit d9382fd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
Expand All @@ -22,24 +22,24 @@ jobs:
CI: true

test-coverage:
name: test coverage (12.x)
name: test coverage (20.x)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
node-version: 20
- run: npm install
- run: npm run test:coverage
- uses: codecov/codecov-action@v1

build:
name: build (12.x)
name: build (20.x)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
node-version: 20
- run: npm install
- run: npm run build
10 changes: 5 additions & 5 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
Expand All @@ -19,24 +19,24 @@ jobs:
CI: true

test-coverage:
name: test coverage (12.x)
name: test coverage (20.x)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
node-version: 20
- run: npm install
- run: npm run test:coverage
- uses: codecov/codecov-action@v1

build:
name: build (12.x)
name: build (20.x)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
node-version: 20
- run: npm install
- run: npm run build

0 comments on commit d9382fd

Please sign in to comment.