Skip to content

Commit

Permalink
t
Browse files Browse the repository at this point in the history
  • Loading branch information
QuiteAFancyEmerald committed Jul 8, 2024
1 parent 1a43552 commit 7a9fd6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install dependencies
run: npm install

- name: Start server if not already running
- name: Start server
run: npm run start-test-server

- name: Test server response
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build": "npm run start",
"test": "npm run test-400",
"start-test-server": "node backend.js &",
"test-400": "curl -s -o /dev/null -w '%{http_code}' http://localhost:8080/ | grep 400"
"test-400": "curl -s -o /dev/null -w '%{http_code}' http://localhost:8080/ | ( grep -q 400 || exit 1 )"
},
"keywords": [
"proxy",
Expand Down

0 comments on commit 7a9fd6b

Please sign in to comment.