Skip to content

Commit

Permalink
Make percy a development dependency
Browse files Browse the repository at this point in the history
- Install percy as a development dependency instead of installing it
  as a separate build step.
- [Replace deprecated `waitFor` with `waitForTimeout`][1].
- Explicitly add `--theme .` argument to the `npx resume` command.

[1]: puppeteer/puppeteer#6214
  • Loading branch information
asbjornu committed May 7, 2023
1 parent 61cc4f1 commit 933502e
Show file tree
Hide file tree
Showing 4 changed files with 10,304 additions and 4,242 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ jobs:
- run: npm ci
- run: npm install --no-save @percy/script
- run: npm run build:styles
- run: npx resume serve --resume=example-resume.json --port 5001 --silent &
- run: npx resume serve --resume=example-resume.json --theme . --port 5001 --silent &
- run: sleep 2s
- run: npx percy exec -- node tests/percy.js
Loading

0 comments on commit 933502e

Please sign in to comment.