chore(deps): bump the dev-dependencies group across 1 directory with … #88
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: Deploy to GitHub Pages | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'apps/web/**' | |
| - 'apps/landing/**' | |
| - 'packages/**' | |
| - '.github/workflows/deploy-pages.yml' | |
| release: | |
| types: [published] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| concurrency: | |
| group: 'pages' | |
| # IMPORTANT: Don't cancel in-progress deployments to prevent showing README | |
| # during the transition. Wait for current deployment to finish instead. | |
| cancel-in-progress: false | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| with: | |
| # When triggered by a release (tag), always checkout main so the | |
| # github-pages environment protection rules (branch-only) are satisfied. | |
| ref: ${{ github.event_name == 'release' && 'main' || github.ref }} | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: '22' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build packages | |
| run: npm run build:packages | |
| - name: Lint check | |
| run: npm run lint | |
| continue-on-error: false | |
| - name: Type check landing page | |
| run: npm run typecheck -w apps/landing | |
| continue-on-error: false | |
| - name: Build GitHub Pages site | |
| run: npm run build:pages | |
| # No VITE_BASE_URL needed - custom domain (fluxby.app) serves from root / | |
| - name: Setup Pages | |
| uses: actions/configure-pages@v6 | |
| - name: Upload artifact | |
| uses: actions/upload-pages-artifact@v5 | |
| with: | |
| path: 'dist' | |
| deploy: | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| runs-on: ubuntu-latest | |
| needs: build | |
| steps: | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v5 |