Skip to content
This repository was archived by the owner on Oct 10, 2022. It is now read-only.

Commit 426ab5e

Browse files
authored
chore: run CI on latest Node.js (#431)
1 parent 8fe6ce1 commit 426ab5e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/release-please.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
if: ${{ steps.release.outputs.release_created }}
2323
- uses: actions/setup-node@v2
2424
with:
25-
node-version: '15'
25+
node-version: '*'
26+
check-latest: true
2627
registry-url: 'https://registry.npmjs.org'
2728
if: ${{ steps.release.outputs.release_created }}
2829
- run: npm publish

.github/workflows/workflow.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [ubuntu-latest, macOS-latest, windows-latest]
16-
node-version: [8.17.0, 15.x]
16+
node-version: [8.17.0, '*']
1717
exclude:
1818
- os: macOS-latest
1919
node-version: 8.17.0
@@ -27,12 +27,13 @@ jobs:
2727
uses: actions/setup-node@v2
2828
with:
2929
node-version: ${{ matrix.node-version }}
30+
check-latest: true
3031
- name: Install dependencies
3132
# TODO: switch to `npm ci` after dropping support for Node 8
3233
run: npm install
3334
- name: Linting
3435
run: npm run format:ci
35-
if: "${{ matrix.node-version == '15.x' }}"
36+
if: "${{ matrix.node-version == '*' }}"
3637
- name: Tests
3738
run: npm run test:ci
3839
- name: Get test coverage flags
@@ -49,4 +50,4 @@ jobs:
4950
flags: ${{ steps.test-coverage-flags.outputs.os }},${{ steps.test-coverage-flags.outputs.node }}
5051
- name: Build
5152
run: npm run build
52-
if: "${{ matrix.node-version == '15.x' }}"
53+
if: "${{ matrix.node-version == '*' }}"

0 commit comments

Comments
 (0)