Skip to content

chore(deps): update eslint monorepo to v9.19.0 #225

chore(deps): update eslint monorepo to v9.19.0

chore(deps): update eslint monorepo to v9.19.0 #225

Workflow file for this run

name: Test
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- run: yarn install
- name: eslint
uses: reviewdog/action-eslint@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
eslint_flags: "src/**/*.{ts,tsx}"
fail_level: any
build-test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: Cache node_modules, .next/cache, .npm
uses: actions/cache@v4
with:
path: |
node_modules
.next/cache
.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
- name: setup-node
uses: actions/setup-node@v4
with:
node-version: 20
- name: install
run: yarn install
- name: build
run: yarn build
status-check:
runs-on: ubuntu-latest
needs: [lint, build-test]
if: failure()
steps:
- run: exit 1