mirror of
https://github.com/kevinveenbirkenbach/homepage.veen.world.git
synced 2026-02-22 18:52:41 +00:00
Fix Cypress action for repositories without lockfile
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -38,11 +38,15 @@ jobs:
|
|||||||
cache: npm
|
cache: npm
|
||||||
cache-dependency-path: app/package.json
|
cache-dependency-path: app/package.json
|
||||||
|
|
||||||
|
- name: Install Node dependencies
|
||||||
|
working-directory: app
|
||||||
|
run: npm install
|
||||||
|
|
||||||
- name: Run Cypress tests
|
- name: Run Cypress tests
|
||||||
uses: cypress-io/github-action@v6
|
uses: cypress-io/github-action@v6
|
||||||
with:
|
with:
|
||||||
working-directory: app
|
working-directory: app
|
||||||
install-command: npm install
|
install: false
|
||||||
start: python app.py
|
start: python app.py
|
||||||
wait-on: http://127.0.0.1:5000
|
wait-on: http://127.0.0.1:5000
|
||||||
wait-on-timeout: 120
|
wait-on-timeout: 120
|
||||||
|
|||||||
Reference in New Issue
Block a user