Skip to content

chore: add .git-blame-ignore-revs for formatting commit #11

chore: add .git-blame-ignore-revs for formatting commit

chore: add .git-blame-ignore-revs for formatting commit #11

Workflow file for this run

name: Deploy

Check failure on line 1 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

(Line: 9, Col: 5): you may only define one of `paths` and `paths-ignore` for a single event
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