Skip to content

Downgrade supports-color to same version as eslint #340

Downgrade supports-color to same version as eslint

Downgrade supports-color to same version as eslint #340

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: ['18.x', '20.x', '22.x', '23.x']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install
run: npm ci
- name: Lint
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '22.x'
run: npm run lint
- name: Types
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '22.x'
run: node_modules/.bin/tsc
- name: Prettier
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '22.x'
run: npm run prettier:check
- name: Test
run: npm test
- name: Integration Tests
run: npm run test:integration