fix(ci/lint): test w/ cd ./src before pnpm executions

This commit is contained in:
Raphael 2025-09-28 23:07:23 +02:00
parent 57d2f4e942
commit bf34d113e0
No known key found for this signature in database

View file

@ -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