fix(ci/lint): Using the working directory
- Learning the working-directory keyword in gh action
This commit is contained in:
parent
bf34d113e0
commit
782d453cc8
1 changed files with 3 additions and 2 deletions
5
.github/workflows/lint.yml
vendored
5
.github/workflows/lint.yml
vendored
|
|
@ -28,12 +28,13 @@ jobs:
|
|||
with:
|
||||
version: 10
|
||||
run_install: false
|
||||
- name: Directory src
|
||||
run: cd ./src
|
||||
- name: Install dependencies with pnpm
|
||||
working-directory: ./src
|
||||
run: pnpm install --frozen-lockfile
|
||||
- name: Check linting
|
||||
working-directory: ./src
|
||||
run: pnpm exec eslint . --max-warnings=0
|
||||
- name: Build
|
||||
working-directory: ./src
|
||||
run: pnpm run build
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue