Bump @types/node from 22.5.4 to 22.8.1 #4633
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: [push, pull_request] | |
jobs: | |
tests: | |
strategy: | |
# We support Node Current, LTS, and Maintenance. See | |
# https://github.com/nodejs/release#release-schedule for release schedule | |
# | |
# We test all supported Node versions on Linux, and the oldest and newest | |
# on macOS/Windows. See | |
# https://github.com/actions/runner-images?tab=readme-ov-file#available-images | |
# for the latest available images. | |
matrix: | |
include: | |
# Maintenance | |
- node: 18 | |
os: ubuntu-22.04 | |
- node: 18 | |
os: macos-13 | |
- node: 18 | |
os: windows-2022 | |
# LTS | |
- node: 20 | |
os: ubuntu-22.04 | |
# Current | |
- node: 22 | |
os: ubuntu-22.04 | |
- node: 22 | |
os: macos-13 | |
- node: 22 | |
os: windows-2022 | |
# Allow all matrix configurations to complete, instead of cancelling as | |
# soon as one fails. Useful because we often have different kinds of | |
# failures depending on the OS. | |
fail-fast: false | |
# Sometimes windows is far slower than the other OSs. Give it enough | |
# time to complete if it's going to. | |
timeout-minutes: 40 | |
runs-on: ${{ matrix.os }} | |
env: | |
WIREIT_LOGGER: 'quiet-ci' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: npm | |
- uses: google/wireit@setup-github-actions-caching/v2 | |
- run: npm ci | |
# See https://code.visualstudio.com/api/working-with-extensions/continuous-integration#github-actions for why we need xvfb-run | |
- run: npm test | |
if: runner.os != 'Linux' | |
# We run tests in parallel on Linux, but not on other OSs. This is | |
# because the Mac and Windows runners are very flaky, and parallelism | |
# makes them worse. | |
env: | |
WIREIT_PARALLEL: 1 | |
- run: xvfb-run -a npm test | |
if: runner.os == 'Linux' | |
lint-and-format: | |
timeout-minutes: 5 | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: npm | |
- run: npm ci | |
- run: npm run lint | |
- run: npm run format:check |