Skip to content

Commit

Permalink
Test for Node.js 20 on CI (#6806)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Jun 13, 2023
1 parent 5fac5dc commit ffd3119
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ jobs:
test:
uses: stylelint/.github/.github/workflows/test.yml@main
with:
node-version: '["14", "16", "18"]' # TODO: Tests on Node.js 20 are still unstable. We can remove this line if they become stable.
node-version: '["14", "16", "18", "20"]'
os: '["ubuntu-latest", "windows-latest", "macos-latest"]'
exclude: '[{"node-version": "18", "os": "ubuntu-latest"}]' # for coverage
# HACK: `--workerIdleMemoryLimit` can avoid failures on Node.js 20. See https://github.com/jestjs/jest/issues/11956
test-options: '--workerIdleMemoryLimit=0.2'

test-coverage:
name: Test on Node.js 18 and ubuntu-latest with coverage
Expand Down

0 comments on commit ffd3119

Please sign in to comment.