Skip to content

Add new Svelte 5 adapter & playground with Typescript included #1422

Add new Svelte 5 adapter & playground with Typescript included

Add new Svelte 5 adapter & playground with Typescript included #1422

Workflow file for this run

name: End-to-end tests
on: [push, pull_request]
jobs:
tests:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
timeout-minutes: 15
runs-on: ubuntu-20.04
strategy:
matrix:
adapter: ['vue2']
browser: ['chrome']
node-version: [18]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 9
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Build Inertia
run: |
pnpm install
cd packages/core && npm run build
cd ../vue2 && npm run build
- name: Local-link @inertiajs/core
run: cd packages/core && npm link
- name: Local-link @inertiajs/${{ matrix.adapter }}
run: cd packages/${{ matrix.adapter }} && npm link
- name: Install Cypress Dependencies
run: |
cd packages/${{ matrix.adapter }}/tests
npm install
npm link "@inertiajs/core" "@inertiajs/${{ matrix.adapter }}"
- name: Run Cypress (${{ matrix.browser }} / ${{ matrix.adapter }})
run: |
cd packages/${{ matrix.adapter }}/tests
npm run ci