Run build before starting the http-server.
This commit is contained in:
parent
e59d468e1b
commit
d992235722
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -22,6 +22,4 @@ jobs:
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- run: npm install
|
||||
- run: npm run lint
|
||||
- run: npm run test
|
||||
- run: npm run create_package
|
||||
- run: npm run create_dist
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
"website/assets/envmaps/*"
|
||||
],
|
||||
"scripts": {
|
||||
"start": "http-server",
|
||||
"start": "npm run build_website_dev && http-server",
|
||||
"test": "mocha test",
|
||||
"lint": "eslint source",
|
||||
"lint_fix": "eslint source --fix",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user