Skip to content

feat: add Node 18 support #2206

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Sep 12, 2022
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.0.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.0.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