Skip to content
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

ci: update node versions to latest LTS #1115

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/test-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [14.x, 16.x, 18.x]
# see https://github.com/webpack/webpack/issues/14532#issuecomment-947513562
# safe to remove once we are using webpack v5
include:
- node-version: 18.x
node-options: --openssl-legacy-provider
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -24,7 +29,7 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run test:node
- run: NODE_OPTIONS=${{ matrix.node-options }} npm ci
- run: NODE_OPTIONS=${{ matrix.node-options }} npm run test:node
env:
CI: true