From b6acf62aaba3bc9c5565506a6ca9adbda9f73340 Mon Sep 17 00:00:00 2001 From: boojack Date: Wed, 31 Aug 2022 19:27:17 +0800 Subject: [PATCH] chore: add eslint check in action (#185) * chore: add eslint check in action * chore: update cache path --- .github/workflows/tests.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bb8a3c50..a1cddf7d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -28,6 +28,21 @@ jobs: args: -v skip-cache: true + eslint-checks: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: "16" + cache: yarn + cache-dependency-path: "web/yarn.lock" + - run: yarn + working-directory: web + - name: Run eslint check + run: yarn lint + working-directory: web + go-tests: runs-on: ubuntu-latest steps: