Skip to content

Commit

Permalink
ci: add logs to artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Jan 15, 2025
1 parent de47193 commit ea141e2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,13 @@ jobs:
working-directory: example
- run: npm run build
working-directory: example
- run: npm start &
- run: npm start > api.log &
working-directory: example
- name: Wait for server to start
run: npx wait-on http://localhost:1429/plaque/newton-s-apple-tree-monash-university -t 30s
- run: npx wait-on http://localhost:1429/plaque/newton-s-apple-tree-monash-university.html -t 1s
- uses: actions/upload-artifact@v4
if: always()
with:
name: api log
path: example/api.log

0 comments on commit ea141e2

Please sign in to comment.