mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-24 17:02:51 +03:00
28d36c6f64
This reverts commit4373c78d82
, reversing changes made to6b78075f02
.
13 lines
254 B
Bash
Executable File
13 lines
254 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
# start a web server in the background and tear it down when exiting
|
|
./script/serve.sh public &
|
|
SERVER_PID=$!
|
|
cleanup() {
|
|
kill "$SERVER_PID"
|
|
}
|
|
trap cleanup EXIT INT
|
|
|
|
npx percy exec -- node script/percy-tests.js
|