Skip to content

Commit

Permalink
ci: add smoke tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Jan 15, 2025
1 parent 71893f1 commit e210c2a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,22 @@ jobs:
node-version: lts/*
- run: npm ci
- run: npm run -ws --if-present build

smoke-test-example:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- run: npm ci
- run: docker compose up -d
working-directory: example
- run: npm run build
working-directory: example
- run: npm start &
working-directory: example
- name: Wait for server to start
run: npx wait-on http://localhost:1429
- run: curl http://localhost:1429/plaque/newton-s-apple-tree-monash-university
- run: curl http://localhost:1429/plaque/newton-s-apple-tree-monash-university.html

0 comments on commit e210c2a

Please sign in to comment.