diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b45ba24..b0d9bed 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: [18, 20, 22] os: - ubuntu-latest - windows-latest @@ -30,7 +29,14 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: ${{ matrix.node }} + # In CI, this Node is only used to + # - Install dependencies, + # - Run tools like typescript and eslint + # - Execute the runTests function of the @vscode/test-electron package + # + # Therefore, it doesn't have to match the Node version supported by + # VSCode. + node-version: lts/* - name: Start xvfb run: | /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & diff --git a/renovate.json b/renovate.json index c4f5219..4f27aef 100644 --- a/renovate.json +++ b/renovate.json @@ -5,5 +5,12 @@ "git-submodules": { "enabled": true }, + "packageRules": [ + { + "description": "Use types of the minimum supported Node version", + "matchPackageNames": ["@types/node"], + "allowedVersions": "=18" + } + ], "schedule": ["on Wednesday"] }