Skip to content

Commit

Permalink
Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ozziest committed Mar 10, 2024
1 parent 9250681 commit 5f445ed
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,19 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Build the app
run: npm ci |
cp .env.example .env |
run: |
npm ci
cp .env.example .env
npm run build
- name: Start the application
run: npm run start &

- name: Wait for the server to start
run: sleep 5

- name: Test API endpoint
run: |
response=$(curl -s -o /dev/null -w "%{http_code}" http://localhost:3000/docs)
Expand Down

0 comments on commit 5f445ed

Please sign in to comment.