Repository navigation
SB-33-05 start social identity gate #123
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: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| release-checks: | |
| name: Browser release checks | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| env: | |
| SERFBOUND_RUN_LOCAL_ASSET_TESTS: '' | |
| SERFBOUND_LOCAL_DATA: '' | |
| SERFBOUND_SPAU_PA: '' | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Node from .nvmrc | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: .nvmrc | |
| cache: npm | |
| cache-dependency-path: package-lock.json | |
| - name: Use pinned npm | |
| run: npm install --global npm@11.6.2 | |
| - name: Install npm dependencies | |
| run: npm ci | |
| - name: Install Chromium for Playwright | |
| run: npx playwright install --with-deps chromium | |
| - name: Run release CI (data-free) | |
| run: npm run ci:release | |
| - name: Summarize | |
| if: always() | |
| run: | | |
| { | |
| echo "## Serfbound CI" | |
| echo "" | |
| echo "- Workflow run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" | |
| echo "- Gates: unit, browser e2e, boundaries, static hosting, docs" | |
| } >> "$GITHUB_STEP_SUMMARY" |