Skip to content

refactor: auto-enable image proxy handlers from registry config #3169

refactor: auto-enable image proxy handlers from registry config

refactor: auto-enable image proxy handlers from registry config #3169

Workflow file for this run

name: Test
on:
push:
paths-ignore:
- '**/README.md'
- 'docs/**'
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v6
with:
node-version: lts/*
cache: pnpm
- run: pnpm i
- name: Lint
run: pnpm lint
- name: Prepare
run: pnpm dev:prepare
# https://github.com/vitejs/vite/blob/main/.github/workflows/ci.yml#L62
# Install playwright's binary under custom directory to cache
- name: Set Playwright path
run: echo "PLAYWRIGHT_BROWSERS_PATH=$HOME/.cache/playwright-bin" >> $GITHUB_ENV
- name: Cache Playwright's binary
uses: actions/cache@v5
with:
key: ${{ runner.os }}-playwright-bin-v1
path: ${{ env.PLAYWRIGHT_BROWSERS_PATH }}
- name: Install Playwright
run: pnpm playwright-core install chromium
- name: Typecheck
run: pnpm typecheck
- name: Build
run: pnpm build
- name: Test
run: pnpm vitest run --project typecheck --project unit --project e2e --project nuxt-runtime