mirror of
https://github.com/usememos/memos.git
synced 2025-12-19 07:08:55 +08:00
chore: add eslint check in action (#185)
* chore: add eslint check in action * chore: update cache path
This commit is contained in:
parent
2a11aed881
commit
b6acf62aab
1 changed files with 15 additions and 0 deletions
15
.github/workflows/tests.yml
vendored
15
.github/workflows/tests.yml
vendored
|
|
@ -28,6 +28,21 @@ jobs:
|
||||||
args: -v
|
args: -v
|
||||||
skip-cache: true
|
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:
|
go-tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue