fix(ci/lint): test w/ cd ./src before pnpm executions
This commit is contained in:
parent
57d2f4e942
commit
bf34d113e0
1 changed files with 5 additions and 3 deletions
8
.github/workflows/lint.yml
vendored
8
.github/workflows/lint.yml
vendored
|
|
@ -28,10 +28,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
version: 10
|
version: 10
|
||||||
run_install: false
|
run_install: false
|
||||||
|
- name: Directory src
|
||||||
|
run: cd ./src
|
||||||
- name: Install dependencies with pnpm
|
- name: Install dependencies with pnpm
|
||||||
run: pnpm --prefix=./src/ install --frozen-lockfile
|
run: pnpm install --frozen-lockfile
|
||||||
- name: Check linting
|
- name: Check linting
|
||||||
run: pnpm --prefix=./src/ exec eslint . --max-warnings=0
|
run: pnpm exec eslint . --max-warnings=0
|
||||||
- name: Build
|
- name: Build
|
||||||
run: pnpm --prefix=./src/ run build
|
run: pnpm run build
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue