1
0
Fork 0
mirror of https://github.com/rharkor/caching-for-turbo.git synced 2025-06-07 17:17:00 +09:00
caching-for-turbo/check-full-turbo.sh
2025-04-10 16:11:07 +02:00

12 lines
285 B
Bash
Executable file

#!/bin/bash
# Run the test and capture the output
npm run test -- --cache=remote:rw --no-daemon | tee test-output.log
cat test-output.log
# Check if the output contains "FULL TURBO"
if ! grep -q "FULL TURBO" test-output.log; then
echo "FULL TURBO not found in output"
exit 1
fi