Files
rubik/.github/workflows/deploy.yml
T
tiennm99 b8e8d3c845 build: move from pnpm to npm
Replace pnpm-lock.yaml with package-lock.json.

pnpm-workspace.yaml pinned npm only where cubejs depends on it
("cubejs>npm: ^11.14.1"). npm expresses that path scoping with a nested
override, so the pin stays scoped to cubejs instead of applying to every copy of
npm in the tree. Verified: cubejs is still the only overridden path.
2026-08-17 13:52:16 +07:00

37 lines
727 B
YAML

name: Deploy to GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build-deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v6
with:
node-version: '24'
cache: 'npm'
- run: npm ci
- run: npm run build
- uses: actions/configure-pages@v6
- uses: actions/upload-pages-artifact@v5
with:
path: dist
- id: deployment
uses: actions/deploy-pages@v5