Skip to content

Use util.stripVTControlCharacters instead of strip-ansi #449

Use util.stripVTControlCharacters instead of strip-ansi

Use util.stripVTControlCharacters instead of strip-ansi #449

Workflow file for this run

name: ci-node
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'pnpm'
- run: pnpm install
- run: pnpm run lint
test:
strategy:
fail-fast: false
matrix:
node: [18, 20]
eslint: ['8', '9']
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
# To avoid differences in snapshot tests.
- run: git config --global core.autocrlf false
if: ${{ matrix.os == 'windows-latest' }}
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
- name: Change ESLint version
run: pnpm add -w -D "eslint@${{ matrix.eslint }}"
- run: pnpm run test
e2e:
strategy:
fail-fast: false
matrix:
node: [18, 20]
eslint: ['8', '9']
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
- name: Change ESLint version
run: pnpm add -w -D "eslint@${{ matrix.eslint }}"
- run: pnpm run e2e