fix(ci/lint): Using the working directory

- Learning the working-directory keyword in gh action
This commit is contained in:
Raphael 2025-09-28 23:10:23 +02:00
parent bf34d113e0
commit 782d453cc8
No known key found for this signature in database

View file

@ -28,12 +28,13 @@ 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
working-directory: ./src
run: pnpm install --frozen-lockfile run: pnpm install --frozen-lockfile
- name: Check linting - name: Check linting
working-directory: ./src
run: pnpm exec eslint . --max-warnings=0 run: pnpm exec eslint . --max-warnings=0
- name: Build - name: Build
working-directory: ./src
run: pnpm run build run: pnpm run build