Skip to content

Bump vite from 6.3.5 to 6.3.6 #145

Bump vite from 6.3.5 to 6.3.6

Bump vite from 6.3.5 to 6.3.6 #145

Workflow file for this run

name: integration tests
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Bootstrap env variables
env:
DATABASE_URL: "file:./evolver.db"
DEFAULT_DEVICE_PORT: 8080
run: echo "DATABASE_URL=$DATABASE_URL" >> .env && echo "DEFAULT_DEVICE_PORT=$DEFAULT_DEVICE_PORT" >> .env
- name: Install dependencies
run: npm ci --include=dev
# This fixes a known npm bug (#4828) with optional dependencies
# Rollup uses platform-specific binaries (Linux/Mac/Windows)
# When running in GitHub Actions (Linux), it needs the Linux-specific binary
# But npm sometimes fails to correctly resolve these platform-specific dependencies
- name: Fix rollup dependency issue
run: |
rm -rf node_modules/.cache
rm -rf node_modules/@rollup
npm install @rollup/rollup-linux-x64-gnu
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
- uses: actions/upload-artifact@v4
if: failure()
with:
name: playwright-output
path: playwright/output ## Folder used in playwright.config.js `outputDir`
retention-days: 30