Skip to content

avoid creating new URL #572

avoid creating new URL

avoid creating new URL #572

Workflow file for this run

name: 🧪 Tests
on:
workflow_dispatch:
# Add remaining triggers
pull_request:
branches: [main]
push:
branches: [main]
jobs:
tests:
name: "🧪 Run All Tests"
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v4
- name: Use Node.js from nvmrc
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
registry-url: "https://registry.npmjs.org"
cache: "pnpm"
- name: Install project dependencies
run: pnpm i
- name: Install Playwright Browsers
run: pnpm --filter tests exec playwright install chromium
- name: Build SolidStart
run: pnpm --filter @solidjs/start build
- name: Build Test Project
run: pnpm --filter tests build
- name: Run all apps/tests (Unit, Node, Browser UI, and E2E)
run: pnpm --filter tests run test:all
# The @solidjs/start package currently has no tests, so we are skipping this step.
# Uncomment if tests are added to the @solidjs/start package.
# - name: Run @solidjs/start unit tests
# run: pnpm --filter @solidjs/start test:ci