File tree 1 file changed +6
-22
lines changed
1 file changed +6
-22
lines changed Original file line number Diff line number Diff line change @@ -21,29 +21,13 @@ jobs:
21
21
steps :
22
22
- name : Checkout
23
23
uses : actions/checkout@v4
24
- - name : Set up Homebrew
25
- id : set-up-homebrew
26
- uses : Homebrew/actions/setup-homebrew@master
27
- - name : Install Dependencies
28
- run : |
29
- brew install zig wabt emscripten go tinygo-org/tools/tinygo
30
- - name : Setup Rust
31
- uses : dtolnay/rust-toolchain@master
24
+ - name : Install Devbox + Dependencies
25
+ uses :
jetify-com/[email protected]
32
26
with :
33
- toolchain : ' stable'
34
- targets : ' wasm32-unknown-unknown'
35
- - name : Build Validator
36
- run : |
37
- cd validator
38
- make install
39
- - name : Build Modules
40
- run : |
41
- scripts/_build_wasms.sh
42
- - name : Build Frontend
27
+ enable-cache : true
28
+ - name : Build Site
43
29
run : |
44
- cd frontend
45
- npm install
46
- WASMBOTS_BASE="/wasmbots" npm run build
30
+ devbox run build
47
31
- name : Upload site artifact
48
32
uses : actions/upload-pages-artifact@v3
49
33
with :
54
38
name : github-pages
55
39
url : ${{ steps.deployment.outputs.page_url }}
56
40
needs : build
57
- runs-on : ubuntu-latest
58
41
name : Deploy
42
+ runs-on : ubuntu-latest
59
43
steps :
60
44
- name : Deploy to GitHub Pages
61
45
id : deployment
You canβt perform that action at this time.
0 commit comments