fix: pipelines

This commit is contained in:
2026-02-22 17:52:12 +00:00
parent b697ad823a
commit 674a8b00e2
3 changed files with 42 additions and 8 deletions

View File

@@ -20,13 +20,30 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- name: Setup pnpm cache
uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: npm ci
run: pnpm install --frozen-lockfile
- name: Run ESLint
run: npm run lint
run: pnpm run lint
- name: Comment PR on failure
if: failure()