chore: add .git-blame-ignore-revs for formatting commit #11
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 | ||
| on: | ||
| push: | ||
| branches: [main] | ||
| paths: | ||
| - 'apps/web/**' | ||
| - '.github/workflows/deploy.yml' | ||
| paths-ignore: | ||
| - 'packages/ruam/**' | ||
| concurrency: | ||
| group: deploy-pages | ||
| cancel-in-progress: true | ||
| jobs: | ||
| deploy: | ||
| name: Deploy to GitHub Pages | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| pages: write | ||
| id-token: write | ||
| environment: | ||
| name: github-pages | ||
| url: ${{ steps.deployment.outputs.page_url }} | ||
| steps: | ||
| - uses: actions/checkout@v6 | ||
| - uses: actions/setup-node@v6 | ||
| with: | ||
| node-version: 24 | ||
| cache: npm | ||
| - run: npm ci | ||
| # macOS-generated lockfile doesn't resolve Linux optional deps (npm/cli#4828). | ||
| - name: Fix rollup platform binary | ||
| run: | | ||
| ROLLUP_V=$(node -p "require('./node_modules/rollup/package.json').version") | ||
| npm install --no-save "@rollup/rollup-linux-x64-gnu@${ROLLUP_V}" | ||
| # Build ruam + collect stats so the site always includes stats.json | ||
| - run: npx turbo run build test stats --filter=ruam | ||
| - name: Copy stats.json into site | ||
| run: cp packages/ruam/stats.json apps/web/public/stats.json | ||
| # Build browser worker bundle for the playground | ||
| - name: Build browser worker bundle | ||
| run: npx turbo run build:browser --filter=ruam | ||
| - run: npx turbo run build --filter=web | ||
| - uses: actions/upload-pages-artifact@v4 | ||
| with: | ||
| path: apps/web/out | ||
| - id: deployment | ||
| uses: actions/deploy-pages@v4 | ||