Run build before starting the http-server.

This commit is contained in:
kovacsv 2023-01-10 22:12:49 +01:00
parent e59d468e1b
commit d992235722
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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",