Skip to content

Bump cross-spawn from 7.0.3 to 7.0.6 in the npm_and_yarn group #4660

Bump cross-spawn from 7.0.3 to 7.0.6 in the npm_and_yarn group

Bump cross-spawn from 7.0.3 to 7.0.6 in the npm_and_yarn group #4660

Workflow file for this run

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