Skip to content

Bump pnpm from 8.15.3 to 9.0.6 #4254

Bump pnpm from 8.15.3 to 9.0.6

Bump pnpm from 8.15.3 to 9.0.6 #4254

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
tests:
strategy:
# We support Node Current, LTS, and Maintenance. See
# https://nodejs.org/en/about/releases/ for release schedule.
#
# We test all supported Node versions on Linux, and the oldest and newest
# on macOS/Windows.
matrix:
include:
- node: 18
os: ubuntu-22.04
- node: 18
os: macos-13
- node: 18
os: windows-2022
- node: 20
os: ubuntu-22.04
- node: 20
os: macos-13
- node: 20
os: windows-2022
- node: 21
os: ubuntu-22.04
# 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/v1
- 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