File tree Expand file tree Collapse file tree 2 files changed +22
-10
lines changed
src/Components/Background Expand file tree Collapse file tree 2 files changed +22
-10
lines changed Original file line number Diff line number Diff line change @@ -13,15 +13,27 @@ jobs:
1313 build :
1414 runs-on : ubuntu-latest
1515 steps :
16- - uses : actions/checkout@v4
17- - name : Fetch deps
18- run : yarn
1916 - name : Build
20- run : yarn build
21- - name : Upload artifact
22- uses : actions/upload-pages-artifact@v3
23- with :
24- path : ./dist
17+ runs-on : ubuntu-latest
18+
19+ steps :
20+ - name : Checkout repo
21+ uses : actions/checkout@v3
22+
23+ - name : Setup Node
24+ uses : actions/setup-node@v3
25+
26+ - name : Install dependencies
27+ uses : bahmutov/npm-install@v1
28+
29+ - name : Build project
30+ run : npm run build
31+
32+ - name : Upload production-ready build files
33+ uses : actions/upload-artifact@v3
34+ with :
35+ name : production-files
36+ path : ./dist
2537
2638 deploy :
2739 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 11//@ts -ignore
2- // import ShadertoyReact from "shadertoy-react";
2+ import ShadertoyReact from "shadertoy-react" ;
33//Above is like only JS, but it works with react.
44//@ts -check
55
@@ -14,7 +14,7 @@ const fragmentShader = `
1414export function Background ( ) : JSX . Element {
1515 return < >
1616 < div className = "-z-1 fixed top-0 left-0 w-full h-full" >
17- { /* <ShadertoyReact fs={fragmentShader} /> */ }
17+ < ShadertoyReact fs = { fragmentShader } />
1818 </ div >
1919 </ > ;
2020 }
You can’t perform that action at this time.
0 commit comments