Skip to content

Commit

Permalink
tweaked workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
weijiekoh committed Aug 3, 2023
1 parent 8285939 commit c3e662e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: npm install
run: cd web && npm install

- name: Build
run: cd web && npm install && npx parcel index.html
run: cd web && npx parcel build index.html

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
Expand Down
3 changes: 3 additions & 0 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
},
"author": "Koh Wei Jie",
"license": "MIT",
"alias": {
"events": false
},
"dependencies": {
"circomlibjs": "^0.1.7",
"ffjavascript": "^0.2.45"
Expand Down

0 comments on commit c3e662e

Please sign in to comment.