Repository navigation
feat(project): apply comprehensive forensic audit and production hard… #6
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: Cloudflare Build Readiness | |
| on: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: cloudflare-readiness-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| readiness: | |
| name: Production build readiness | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: .nvmrc | |
| - name: Install dependencies | |
| run: npm install --no-audit --no-fund | |
| - name: Build production output | |
| run: npm run build | |
| - name: Verify required output | |
| shell: bash | |
| run: | | |
| test -f dist/index.html | |
| test -f dist/pagefind/pagefind.js | |
| test -f dist/vpms/v1/vibproject.schema.json | |
| # Production deployment is intentionally performed by Cloudflare Pages Git integration. |