Skip to content

Commit

Permalink
ci(lost-pixel): Replace sleep with wait-on for server readiness
Browse files Browse the repository at this point in the history
  • Loading branch information
mason-at-pieces committed Apr 25, 2024
1 parent 62f1529 commit a260e84
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/lost-pixel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,14 @@ jobs:
- name: Build Docusaurus
run: pnpm run build

- name: Install wait-on
run: npm install -g wait-on

- name: Start Server
run: pnpm run serve &

- name: Wait for Server
run: sleep 15
run: wait-on http://localhost:3000

- name: Lost Pixel
uses: lost-pixel/[email protected]

0 comments on commit a260e84

Please sign in to comment.