Skip to content

Commit

Permalink
Adapt Node versions on CI to prepare for v3 (#4546)
Browse files Browse the repository at this point in the history
* Adapt Node versions on CI to prepare for v3

* Show codecov results immediately

* Remove MacOS 10 as it only causes issues anyway
  • Loading branch information
lukastaegert committed Jul 2, 2022
1 parent 057171c commit 437131a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/tests.yml
Expand Up @@ -11,9 +11,9 @@ permissions:
contents: read

jobs:
linux16:
linux18:
runs-on: ubuntu-latest
name: Node 16 + Coverage (Linux)
name: Node 18 + Coverage (Linux)
steps:
- name: Checkout Commit
uses: actions/checkout@v3
Expand All @@ -22,7 +22,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '18'
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Run tests with coverage
Expand All @@ -33,16 +33,16 @@ jobs:
with:
commit_parent: ${{ github.event.pull_request.head.sha }}

linux14:
linux16:
runs-on: ubuntu-latest
name: Node 14 + Extra Tests (Linux)
name: Node 16 + Extra Tests (Linux)
steps:
- name: Checkout Commit
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '14'
node-version: '16'
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Lint
Expand All @@ -58,7 +58,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['10', '12', '18']
node: ['10', '12', '14']
name: Node ${{ matrix.node }} (Linux)
steps:
- name: Checkout Commit
Expand All @@ -78,7 +78,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
node: ['12', '16']
node: ['14', '18']
name: Node ${{ matrix.node }} (macOS)
steps:
- name: Checkout Commit
Expand All @@ -98,7 +98,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
node: ['10', '16']
node: ['10', '14', '18']
name: Node ${{ matrix.node }} (Windows)
steps:
- name: Checkout Commit
Expand Down
4 changes: 4 additions & 0 deletions codecov.yml
@@ -0,0 +1,4 @@
codecov:
require_ci_to_pass: no
notify:
wait_for_ci: no

0 comments on commit 437131a

Please sign in to comment.