Skip to content

Commit

Permalink
ci: drop support for Node.js 16 and add Node.js 20
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Oct 10, 2023
1 parent 76778f6 commit d2fefef
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Use Node.js 18
- name: Use Node.js 20
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
cache: yarn

- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Use Node.js 18.x
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
cache: yarn

- name: Install
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

strategy:
matrix:
node-version: [ 16.x, 18.x ]
node-version: [ 18.x, 20.x ]

steps:
- uses: actions/checkout@v4
Expand All @@ -44,5 +44,5 @@ jobs:
run: yarn test

- name: Codecov
if: ${{ matrix.node-version == '18.x' }}
if: ${{ matrix.node-version == '20.x' }}
uses: codecov/codecov-action@v3
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ inputs:
description: GitHub token used to set issue labels

runs:
using: node16
using: node20
main: dist/index.js

0 comments on commit d2fefef

Please sign in to comment.