Initial commit #1
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| main: | |
| name: build & test (solid-js@1.9) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Install | |
| run: bun install --frozen-lockfile | |
| - name: Format check | |
| run: bun run fmt:check | |
| - name: Build | |
| run: bun run build | |
| - name: Check | |
| run: bun run check | |
| - name: Check package exports | |
| run: bun run check:exports | |
| - name: Lint | |
| run: bun run lint | |
| - name: Test | |
| run: bun run test:coverage | |
| - name: Conformance | |
| run: bun run conformance | |
| - name: SSR smoke test | |
| run: bun run test:ssr | |
| solid-next: | |
| name: build & test (solid-js@2.0.0-beta, non-gating) | |
| runs-on: ubuntu-latest | |
| continue-on-error: true | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Install | |
| run: bun install --frozen-lockfile | |
| - name: Bump solid-js to next | |
| run: bun add -D solid-js@2.0.0-beta | |
| - name: Build | |
| run: bun run build | |
| - name: Check | |
| run: bun run check | |
| - name: Test | |
| run: bun run test | |
| - name: Conformance | |
| run: bun run conformance | |
| - name: SSR smoke test | |
| run: bun run test:ssr |