fix: use port flag in npm run

This commit is contained in:
Bart van der Braak 2023-10-01 21:23:16 +02:00 committed by GitHub
parent 135cb4bdfe
commit 98bbb98503
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,7 +41,7 @@ jobs:
run: npm run build
- name: Start Preview and Get Preview URL
run: PORT=${{ env.PORT }} npm run preview & echo $! > preview_pid
run: npm run preview -- --port=${{ env.PORT }} & echo $! > preview_pid
- name: Install Dependencies
run: npm add -g @unlighthouse/cli puppeteer