chore: migrate project to monorepo

This commit is contained in:
cqh963852 committed 2025-07-17 10:35:02 +08:00
1 parent 47dd739a28
commit 9195a387b2
125 files changed
+1478 -1364

No files matched your search

+15 -10
View File
@@ -2,28 +2,33 @@ name: Deploy to GitHub Pages
on:
push:
branches: [main]
branches:
- main
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
jobs:
build:
name: Build and Upload Static Files
name: Build Docusaurus
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 18
cache: yarn
- name: Install dependencies
run: yarn install --immutable
- name: Build website
working-directory: ./
run: |
yarn install --immutable
yarn build
- name: Upload static files as artifact
id: deployment
run: yarn workspace stack-idealjs build
- name: Upload Build Artifact
uses: actions/upload-pages-artifact@v3
with:
path: build
path: packages/stack-idealjs/build
deploy:
name: Deploy to GitHub Pages