Skip to content

feat: add project-first execution flow #200

feat: add project-first execution flow

feat: add project-first execution flow #200

Workflow file for this run

name: Deploy GitHub Pages
on:
push:
branches:
- main
workflow_dispatch:
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
run_install: false
- name: Setup Node
uses: actions/setup-node@v5
with:
node-version: 22
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- name: Configure Pages
uses: actions/configure-pages@v5
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Build Pages Bundle
run: pnpm run build:pages
- name: Disable Jekyll
run: touch dist/public/.nojekyll
- name: Upload Pages Artifact
uses: actions/upload-pages-artifact@v3
with:
path: dist/public
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4