Skip to content

Commit

Permalink
ci: update tested Node.js versions (#906)
Browse files Browse the repository at this point in the history
  • Loading branch information
targos authored May 9, 2022
1 parent 153d6dd commit 908ebe2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node.js 16
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16.x

Expand All @@ -36,19 +36,18 @@ jobs:
- ubuntu-latest
- windows-latest
node-version:
- 12.x
- 14.x
- 16.x
- 17.x
- 18.x

runs-on: ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -59,4 +58,4 @@ jobs:
run: npm run tap -- --coverage-report=lcov

- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
7 changes: 3 additions & 4 deletions .github/workflows/test-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,21 @@ jobs:
- ubuntu-latest
- windows-latest
node-version:
- 12.x
- 14.x
- 16.x
- 17.x
- 18.x

runs-on: ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: ${{ github.event.inputs.repository }}
ref: ${{ github.event.inputs.ref }}

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

Expand Down

0 comments on commit 908ebe2

Please sign in to comment.