Skip to content

ci: add Node 16, 18 and 20 [version 3] #782

ci: add Node 16, 18 and 20 [version 3]

ci: add Node 16, 18 and 20 [version 3] #782

Workflow file for this run

name: v3-ci
on:
pull_request:
branches:
- v3
workflow_dispatch:
branches:
- v3
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
e2e:
strategy:
matrix:
os: [macos-13, ubuntu-22.04, windows-2022]
node: [16, 18, 20]
fail-fast: true
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v3.3.0
- name: Setup Node
uses: actions/setup-node@v3.6.0
with:
node-version: {{ matrix.node }}

Check failure on line 28 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / v3-ci

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 28, Col: 25): A mapping was not expected
cache: "npm"
- name: Enable corepack
run: corepack enable
- name: Install dependencies
run: npm ci
- name: Prepare test environment
run: npm run test:prep
- name: Run Jest tests
run: npm run test:jest
- name: Run Tape tests
run: npm run test:tape
- name: Run ChromeDriver tests
run: npm run test:sanity