Skip to content

build(deps): bump actions/setup-node from 6 to 7 #166

build(deps): bump actions/setup-node from 6 to 7

build(deps): bump actions/setup-node from 6 to 7 #166

Workflow file for this run

on:
push:
branches:
- master
pull_request:
types: [ assigned, opened, synchronize, reopened, labeled ]
name: ci
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [14, 18, 20, 22, 24]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v7
with:
node-version: ${{ matrix.node }}
# The test/babel-8 workspace depends on Babel 8, which requires Node 20+,
# so we cannot install dependencies with --engine-strict. We keep
# --engine-strict for older Node.js version, which use a npm version that
# does not support nested workspaces so doesn't see the Babel 8 dependencies,
# to make sure that we are not accidentally using dependencies that don't
# support Node.js 12+.
- run: npm install
if: matrix.node == 18
- run: npm install --engine-strict
if: matrix.node >= 20
- run: npm test
# 14 is an expected job on GitHub, so have a no-op for it
if: matrix.node != 14
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v7
with:
node-version: lts/*
- run: npm install
- run: npm test