Skip to content

Commit

Permalink
move deps install to boot-servers
Browse files Browse the repository at this point in the history
  • Loading branch information
cassidycodes committed Oct 17, 2024
1 parent 8700e54 commit 58a64cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ jobs:
- name: Start Servers
working-directory: ./k6
run: |
yarn install
cd graphql-api
bundle install
cd ..
./boot-servers.sh &
npx wait-on http://localhost:9292 --timeout 5s
npx wait-on http://localhost:9291 --timeout 5s
Expand Down
5 changes: 5 additions & 0 deletions k6/boot-servers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ start_puma_server() {
bundle exec puma -C puma.rb | log_with_prefix "$prefix" &
}

echo "Installing dependencies..."
yarn install
cd graphql-api
bundle install
cd ..
# Start Node.js server
echo "Starting usage-api server..."
LOG_LEVEL=$LOG_LEVEL node usage-api.js | log_with_prefix "usage-api" &
Expand Down

0 comments on commit 58a64cc

Please sign in to comment.