fix: with not global http-serv install. Fingercross and last try'
This commit is contained in:
parent
0e5cc90648
commit
b36983b583
4
.github/workflows/node-ci.yml
vendored
4
.github/workflows/node-ci.yml
vendored
|
@ -28,13 +28,13 @@ jobs:
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: Install http-server
|
- name: Install http-server
|
||||||
run: npm install -g http-server
|
run: npm install http-server
|
||||||
|
|
||||||
- name: Install e2e test dependencies
|
- name: Install e2e test dependencies
|
||||||
run: npm run e2e:install
|
run: npm run e2e:install
|
||||||
|
|
||||||
- name: Serve the build directory
|
- name: Serve the build directory
|
||||||
run: http-server ./dist -p 8080 &
|
run: npx http-server ./dist -p 8080 &
|
||||||
# Adjust "./build" to your build output directory
|
# Adjust "./build" to your build output directory
|
||||||
|
|
||||||
# - name: Run e2e tests
|
# - name: Run e2e tests
|
||||||
|
|
Loading…
Reference in New Issue
Block a user