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:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm run lint
|
- run: npm run create_dist
|
||||||
- run: npm run test
|
|
||||||
- run: npm run create_package
|
|
||||||
|
|||||||
@ -37,7 +37,7 @@
|
|||||||
"website/assets/envmaps/*"
|
"website/assets/envmaps/*"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "http-server",
|
"start": "npm run build_website_dev && http-server",
|
||||||
"test": "mocha test",
|
"test": "mocha test",
|
||||||
"lint": "eslint source",
|
"lint": "eslint source",
|
||||||
"lint_fix": "eslint source --fix",
|
"lint_fix": "eslint source --fix",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user