Skip to content

Commit

Permalink
Update deps and replace CRA with vite
Browse files Browse the repository at this point in the history
  • Loading branch information
wolflu05 committed Dec 8, 2023
1 parent 3be4dc1 commit 9b02a0f
Show file tree
Hide file tree
Showing 26 changed files with 5,960 additions and 19,947 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,15 @@ jobs:
run: npm ci

- name: Build react-app
run: npm run build --workspace @braingoat/web
run: |
npm run build --workspace @braingoat/compiler
npm run build --workspace @braingoat/web -- --base=braingoat/
- name: Upload build
uses: actions/upload-artifact@v2
with:
name: react-build
path: packages/web/build/
path: packages/web/dist/

deploy:
name: deploy 🚀
Expand All @@ -64,11 +66,17 @@ jobs:
uses: actions/download-artifact@v2
with:
name: react-build
path: build/
path: dist/

- name: Deploy react-app
uses: JamesIves/[email protected]
- name: Setup Pages
uses: actions/configure-pages@v3

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
branch: gh-pages
folder: build
clean: true
# Upload dist repository
path: "./dist"

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
Loading

0 comments on commit 9b02a0f

Please sign in to comment.