File tree Expand file tree Collapse file tree 9 files changed +984
-970
lines changed
Expand file tree Collapse file tree 9 files changed +984
-970
lines changed Original file line number Diff line number Diff line change 1+ # Ensure all text files use LF line endings
2+ * text =auto eol =lf
3+
4+ # Explicitly set common file types
5+ * .ts text eol =lf
6+ * .tsx text eol =lf
7+ * .js text eol =lf
8+ * .jsx text eol =lf
9+ * .json text eol =lf
10+ * .css text eol =lf
11+ * .html text eol =lf
12+ * .md text eol =lf
13+ * .yml text eol =lf
14+ * .yaml text eol =lf
Original file line number Diff line number Diff line change 1- name : Deploy to GitHub Pages
2-
3- on :
4- push :
5- branches : [demo]
6- workflow_dispatch :
7-
8- permissions :
9- contents : read
10- pages : write
11- id-token : write
12-
13- concurrency :
14- group : pages
15- cancel-in-progress : false
16-
17- jobs :
18- build :
19- runs-on : ubuntu-latest
20- steps :
21- - uses : actions/checkout@v4
22-
23- - name : Setup Bun
24- uses : oven-sh/setup-bun@v2
25- with :
26- bun-version : latest
27-
28- - name : Install dependencies
29- run : bun install
30-
31- - name : Build
32- run : bun run build
33-
34- - name : Setup Pages
35- uses : actions/configure-pages@v5
36-
37- - name : Upload artifact
38- uses : actions/upload-pages-artifact@v3
39- with :
40- path : ./dist
41-
42- deploy :
43- environment :
44- name : github-pages
45- url : ${{ steps.deployment.outputs.page_url }}
46- runs-on : ubuntu-latest
47- needs : build
48- steps :
49- - name : Deploy to GitHub Pages
50- id : deployment
51- uses : actions/deploy-pages@v4
1+ name : Deploy to GitHub Pages
2+
3+ on :
4+ push :
5+ branches : [demo]
6+ workflow_dispatch :
7+
8+ permissions :
9+ contents : read
10+ pages : write
11+ id-token : write
12+
13+ concurrency :
14+ group : pages
15+ cancel-in-progress : false
16+
17+ jobs :
18+ build :
19+ runs-on : ubuntu-latest
20+ steps :
21+ - uses : actions/checkout@v4
22+
23+ - name : Setup Bun
24+ uses : oven-sh/setup-bun@v2
25+ with :
26+ bun-version : latest
27+
28+ - name : Install dependencies
29+ run : bun install
30+
31+ - name : Build
32+ run : bun run build
33+
34+ - name : Setup Pages
35+ uses : actions/configure-pages@v5
36+
37+ - name : Upload artifact
38+ uses : actions/upload-pages-artifact@v3
39+ with :
40+ path : ./dist
41+
42+ deploy :
43+ environment :
44+ name : github-pages
45+ url : ${{ steps.deployment.outputs.page_url }}
46+ runs-on : ubuntu-latest
47+ needs : build
48+ steps :
49+ - name : Deploy to GitHub Pages
50+ id : deployment
51+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 1- node_modules
2- dist
3- .DS_Store
4- * .local
1+ node_modules
2+ dist
3+ .DS_Store
4+ * .local
Original file line number Diff line number Diff line change 1- {
2- "name" : " transliteration-demo" ,
3- "private" : true ,
4- "version" : " 0.0.0" ,
5- "type" : " module" ,
6- "scripts" : {
7- "dev" : " vite" ,
8- "build" : " vite build" ,
9- "preview" : " vite preview"
10- },
11- "dependencies" : {
12- "preact" : " ^10.28.0" ,
13- "transliteration" : " ^2.3.5"
14- },
15- "devDependencies" : {
16- "@preact/preset-vite" : " ^2.10.2" ,
17- "rolldown-vite" : " ^7.2.11" ,
18- "typescript" : " ^5.9.3"
19- },
20- "overrides" : {
21- "vite" : " npm:rolldown-vite@^7.2.11"
22- }
23- }
1+ {
2+ "name" : " transliteration-demo" ,
3+ "private" : true ,
4+ "version" : " 0.0.0" ,
5+ "type" : " module" ,
6+ "scripts" : {
7+ "dev" : " vite" ,
8+ "build" : " vite build" ,
9+ "preview" : " vite preview"
10+ },
11+ "dependencies" : {
12+ "preact" : " ^10.28.0" ,
13+ "transliteration" : " ^2.3.5"
14+ },
15+ "devDependencies" : {
16+ "@preact/preset-vite" : " ^2.10.2" ,
17+ "rolldown-vite" : " ^7.2.11" ,
18+ "typescript" : " ^5.9.3"
19+ },
20+ "overrides" : {
21+ "vite" : " npm:rolldown-vite@^7.2.11"
22+ }
23+ }
You can’t perform that action at this time.
0 commit comments