Skip to content

Bump eslint and @types/eslint #678

Bump eslint and @types/eslint

Bump eslint and @types/eslint #678

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: ./.node-version
- uses: actions/cache@v3
id: node_modules_cache_id
env:
cache-name: cache-node-modules
with:
path: node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- if: ${{ steps.node_modules_cache_id.outputs.cache-hit != 'true' }}
run: npm ci
- name: ESLint
run: npm run lint
- name: Prettier
run: npm run format
- name: Test
run: npm run test
- name: Type Check
run: npm run type-check