diff --git a/.github/workflows/vscode-test.yaml b/.github/workflows/vscode-test.yaml index 3e11b5e..143c952 100644 --- a/.github/workflows/vscode-test.yaml +++ b/.github/workflows/vscode-test.yaml @@ -10,15 +10,22 @@ jobs: build: strategy: matrix: - os: [macos-11, ubuntu-latest, windows-latest] + os: + - macos-11 + - ubuntu-latest + - windows-latest + node_version: + - 16 runs-on: ${{ matrix.os }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: - node-version: 10.x + node-version: ${{ matrix.node_version }} + cache: 'npm' + cache-dependency-path: '**/package-lock.json' - run: npm ci - run: xvfb-run -a npm test if: runner.os == 'Linux'