Skip to content
Merged
10 changes: 3 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches:
- '**'
env:
NODE_VERSION: 16.10.0
NODE_VERSION: 18.4.0
jobs:
check-ci:
name: Node Engine Check
Expand Down Expand Up @@ -117,6 +117,8 @@ jobs:
NODE_VERSION: 14.19.2
- name: Node 16
NODE_VERSION: 16.10.0
- name: Node 18
NODE_VERSION: 18.4.0
fail-fast: false
name: ${{ matrix.name }}
timeout-minutes: 15
Expand All @@ -143,12 +145,6 @@ jobs:
key: ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-
- name: Install dependencies (Node < 10)
run: npm install
if: ${{ steps.node.outputs.node_major < 10 }}
- name: Install dependencies (Node >= 10)
run: npm ci
if: ${{ steps.node.outputs.node_major >= 10 }}
- name: Tests
run: npm test
- name: Test bundles
Expand Down