Skip to content

Commit

Permalink
use latest lts node in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
SunsetTechuila authored and xuhdev committed Feb 8, 2025
1 parent 38873d2 commit c5a16e1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 16 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@ on:

jobs:
test:
name: Test on node ${{ matrix.node }} and ${{ matrix.os }}
name: Test on ${{ matrix.os }}

runs-on: ${{ matrix.os }}

strategy:
matrix:
node: [20, 22]
os:
- ubuntu-latest
- windows-latest
Expand All @@ -30,7 +29,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
node-version: lts/*
- name: Start xvfb
run: |
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
Expand Down
20 changes: 9 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "^20.14.8",
"@types/node": "^18.19.74",
"@types/vscode": "^1.82.0",
"@typescript-eslint/eslint-plugin": "^8.22.0",
"@typescript-eslint/parser": "^8.22.0",
Expand Down
2 changes: 1 addition & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{
"description": "Use types of the minimum supported Node version",
"matchPackageNames": ["@types/node"],
"allowedVersions": "<21"
"allowedVersions": "=18"
}
],
"schedule": ["on Wednesday"]
Expand Down

0 comments on commit c5a16e1

Please sign in to comment.