chore: re-apply prettier #1161
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
name: Node.js ${{ matrix.node-version }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: | |
- 21 | |
- 20 | |
- 18 | |
os: | |
- ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install --force # ts-eslint does not support eslint v9 yet. | |
- run: npm test | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "lts/*" | |
- run: npm install --force # ts-eslint does not support eslint v9 yet. | |
- run: npm run lint | |
eslint8: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "lts/*" | |
- run: npm install --force # ts-eslint does not support eslint v9 yet. | |
- run: npm install --save-dev eslint@8 | |
- run: npm test | |
test-remote: | |
name: eslint-remote-tester | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "lts/*" | |
- run: npm install --force # ts-eslint does not support eslint v9 yet. | |
- run: npm install --save-dev eslint@8 # eslint-remote-tester does not support eslint v9. | |
- run: npm run test:remote |