chore(deps): update eslint (major) #92
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: | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
name: 'Lint: node-18, ubuntu-latest' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
with: | |
fetch-depth: 0 | |
- name: Set node version to 18 | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4 | |
with: | |
node-version: 18 | |
- name: Install deps | |
run: npm install | |
- name: Lint | |
run: npm run lint | |
format: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
name: 'Format: node-18, ubuntu-latest' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
with: | |
fetch-depth: 0 | |
- name: Set node version to 18 | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4 | |
with: | |
node-version: 18 | |
- name: Install deps | |
run: npm install | |
- name: Format | |
run: npx prettier src --check | |
ts-check-tests: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
name: 'TS-Check Tests: node-18, ubuntu-latest' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
with: | |
fetch-depth: 0 | |
- name: Set node version to 18 | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4 | |
with: | |
node-version: 18 | |
- name: Install deps | |
run: npm install | |
- name: Check tests | |
run: npx tsc --noEmit |