avoid creating new URL #572
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |