fix: deploy issues

This commit is contained in:
2026-02-10 11:59:43 +01:00
parent ac31c4fd50
commit 0362dd1496
2 changed files with 28 additions and 8 deletions

View File

@@ -13,14 +13,20 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 9
run_install: false
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
cache: 'pnpm'
- name: Install dependencies
run: npm ci
run: pnpm install
- name: 🔍 Lint
run: npm run lint

View File

@@ -161,22 +161,29 @@ jobs:
with:
fetch-depth: 1
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 9
run_install: false
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: npm ci --legacy-peer-deps
run: pnpm install
- name: 🧪 Run Checks in Parallel
if: github.event.inputs.skip_long_checks != 'true'
run: |
npm run lint &
pnpm lint &
LINT_PID=$!
npm run typecheck &
pnpm typecheck &
TYPE_PID=$!
npm run test &
pnpm test &
TEST_PID=$!
# Wait for all and fail if any fail
@@ -404,13 +411,20 @@ jobs:
with:
fetch-depth: 1
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 9
run_install: false
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: npm ci --legacy-peer-deps
run: pnpm install
- name: 🔍 Install Chromium (Native & ARM64)
run: |
@@ -477,7 +491,7 @@ jobs:
PAGESPEED_LIMIT: 8
PUPPETEER_EXECUTABLE_PATH: /usr/bin/chromium
CHROME_PATH: /usr/bin/chromium
run: npm run pagespeed:test
run: pnpm pagespeed:test