Skip to content

[build-tools] Fail build upon runtime version mismatch (#449) #1867

[build-tools] Fail build upon runtime version mismatch (#449)

[build-tools] Fail build upon runtime version mismatch (#449) #1867

Workflow file for this run

name: Run tests
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['18', '20', '22']
name: Test with Node ${{ matrix.node }} on Linux
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Setup ncc
run: npm install -g @vercel/ncc
- run: yarn install --frozen-lockfile --check-files
- run: yarn build
- run: yarn test
- run: yarn lint --max-warnings=0