Skip to content

Commit

Permalink
json-server version sync
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanJelicSF authored and zkabic committed Feb 8, 2024
1 parent 331b65f commit abd8009
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1,355 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
${{ runner.OS }}-
- name: Install & run server.js
run: cd src/SWP/Bundle/CoreBundle/Tests/Functional/Resources/ && npm install json-server && nohup node server.js &
run: cd src/SWP/Bundle/CoreBundle/Tests/Functional/Resources/ && npm install && nohup node server.js &

- name: Test loading fixtures from dev env in test env
run: |
Expand Down
4 changes: 2 additions & 2 deletions etc/docker/docker-compose.yml.example
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ services:
- "8082:8080"
- "5555:5555"
test-api:
image: node:10-alpine
image: node:18-alpine
ports:
- "3000:3000"
volumes:
- ../../src/SWP/Bundle/CoreBundle/Tests/Functional/Resources:/app:rw
working_dir: /app
command: sh -c "npm install json-server && nohup node server.js"
command: sh -c "npm install && nohup node server.js"

volumes:
publisher_logs:
Expand Down
Loading

0 comments on commit abd8009

Please sign in to comment.