File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # MIT Licence
2+ # Copyright 2026 feraxhp
3+
4+ name : Publish Web App
5+ run-name : 🚀 Publish Web App 🚀
6+ on :
7+ workflow_dispatch :
8+ release :
9+ types :
10+ - created
11+
12+ permissions :
13+ contents : read
14+ pages : write
15+ id-token : write
16+
17+ concurrency :
18+ group : " pages"
19+ cancel-in-progress : false
20+
21+ jobs :
22+ sample :
23+ name : 📟 Deploy 2 pages
24+ environment :
25+ name : github-pages
26+ url : ${{ steps.deployment.outputs.page_url }}
27+
28+ runs-on : ubuntu-latest
29+ steps :
30+
31+ - name : 🗃️ Checkout code
32+ uses : actions/checkout@v4
33+
34+ - name : 📦 Install npm dependencies
35+ shell : bash
36+ run : npm install
37+
38+ - name : 🧩 Build fractos
39+ shell : bash
40+ run : npm run build
41+
42+ - name : 📤 Upload artifact
43+ uses : actions/upload-pages-artifact@v3
44+ with :
45+ path : " app/home/dist"
46+
47+ - name : 📡 Deploy to GitHub Pages
48+ id : deployment
49+ uses : actions/deploy-pages@v4
50+
51+ - name : 🎉 Congratulations 🎉
52+ run : |
53+ echo "Your page is Up"
54+ echo "🎉 Congratulations 🎉"
55+
56+ # See LICENCE in the project root
57+ # for the full licence detail.
Original file line number Diff line number Diff line change 1111 "@codemirror/state" : " ^6.6.0" ,
1212 "@codemirror/view" : " ^6.41.1" ,
1313 "@glifox/desmos" : " ^0.1.2" ,
14- "@glifox/gnosis" : " ^0.0.19" ,
1514 "@glifox/fractos" : " ^0.1.0" ,
15+ "@glifox/gnosis" : " ^0.0.19" ,
1616 "codemirror" : " ^6.0.2" ,
1717 "loro-crdt" : " ^1.12.1" ,
1818 "marked" : " ^18.0.3"
1919 },
2020 "scripts" : {
21- "prev:home" : " bun ./app/home/index.html"
21+ "prev:home" : " bun ./app/home/index.html" ,
22+ "build" : " vite build ./app/home --config vite.config.js"
23+ },
24+ "devDependencies" : {
25+ "esbuild" : " ^0.28.0" ,
26+ "rollup" : " ^4.60.2" ,
27+ "vite" : " ^8.0.10" ,
28+ "vite-plugin-top-level-await" : " ^1.6.0" ,
29+ "vite-plugin-wasm" : " ^3.6.0"
2230 }
2331}
You can’t perform that action at this time.
0 commit comments