Skip to content

Add server provided head elements #1835

Add server provided head elements

Add server provided head elements #1835

name: Test App Quality
on: [push, pull_request]
permissions:
contents: read
jobs:
test-app-quality:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
timeout-minutes: 15
runs-on: ubuntu-24.04
strategy:
matrix:
adapter: ['vue', 'react', 'svelte']
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- name: Install pnpm
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
with:
version: 11.1.1
- name: Setup Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 24
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build Inertia
run: pnpm -r --filter './packages/{core,vite}' --filter './packages/${{ matrix.adapter }}*' build
- name: Type-check test-app
run: cd packages/${{ matrix.adapter == 'vue' && 'vue3' || matrix.adapter }}/test-app && pnpm run type-check
- name: ESLint test-app
run: cd packages/${{ matrix.adapter == 'vue' && 'vue3' || matrix.adapter }}/test-app && pnpm run lint