Skip to content

Commit

Permalink
attempt to run "node web/build.js" in deploy.yml for #326
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Mar 5, 2023
1 parent 6073916 commit d18306a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: deploy to Github Pages
on:
push:
branches: [ main ]
pull_request:
branches: [ "main" ]


permissions:
Expand Down Expand Up @@ -31,3 +33,16 @@ jobs:
with:
branch: gh-pages # The branch the action should deploy to.
folder: ./build/web # The folder the action should deploy.

strategy:
matrix:
node-version: [18.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: node web/build.js
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,6 @@ app.*.map.json

# Coverage files
coverage

# esbuild
node_modules/

0 comments on commit d18306a

Please sign in to comment.