Skip to content

Commit

Permalink
ci: upgrade GH actions, drop support for Node < 12.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
webketje committed Sep 14, 2022
1 parent b11e0fd commit 6b307cc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Expand Up @@ -9,8 +9,8 @@ jobs:
pre-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: 'npm'

Expand All @@ -25,7 +25,7 @@ jobs:
strategy:
matrix:
os: ['ubuntu-latest', 'windows-latest']
node: ['12.0']
node: ['12.2.0']
name: Testing Node ${{ matrix.node }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand All @@ -43,11 +43,11 @@ jobs:
strategy:
matrix:
os: ['ubuntu-latest', 'windows-latest']
node: ['12.0', '14.0', '16.0']
node: ['12.2.0', '14.0', '16.0']
name: Testing Node ${{ matrix.node }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'npm'
Expand All @@ -57,7 +57,7 @@ jobs:
- if: matrix.os == 'ubuntu-latest' && matrix.node == '16.0'
run: npm run coverage
- if: matrix.os == 'ubuntu-latest' && matrix.node == '16.0'
uses: coverallsapp/github-action@v1.1.2
uses: coverallsapp/github-action@1.1.3
with:
github-token: ${{ github.token }}
path-to-lcov: ./coverage.info
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -67,7 +67,7 @@
"test": "nyc mocha"
},
"engines": {
"node": ">=12"
"node": ">=12.2.0"
},
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit 6b307cc

Please sign in to comment.