Skip to content

Update typescript-eslint monorepo to v8 (major) - autoclosed #542

Update typescript-eslint monorepo to v8 (major) - autoclosed

Update typescript-eslint monorepo to v8 (major) - autoclosed #542

Workflow file for this run

---
# This workflow will do a clean install of all dependencies, cache/restore
# them, build the source code and run tests across different versions fo node.
name: Test CI
on:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16, 18, 20]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci --timing
- run: npm run lint
- run: npm run build:debug
- name: "Run tests on Node 20"
run: npm test
if: matrix.node-version == 20
env:
NODE_OPTIONS: "--loader=tsx"
- name: "Run tests on Node < 20"
run: npm test
if: matrix.node-version < 20
...