Skip to content

Improve external file detection on Windows #458

Improve external file detection on Windows

Improve external file detection on Windows #458

Workflow file for this run

name: Node.js CI
on: [push, pull_request]
jobs:
lint:
name: lint & ts-test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- run: |
npm ci
npm run lint
npm run ts-test
test-eslint-8-only:
name: test (Node.js ${{ matrix.node-version }})
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['12', '14', '16']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: |
npm ci
npm install eslint@8
npm test
test:
name: Test (Node.js ${{ matrix.node-version }} on ${{ matrix.runs-on }})
runs-on: ${{ matrix.runs-on }}
strategy:
matrix:
runs-on: [ubuntu-latest]
node-version: ['18', '20', '22']
include:
- runs-on: windows-latest
node-version: lts/*
- runs-on: macOS-latest
node-version: lts/*
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: |
npm ci
npm test