Skip to content

Commit

Permalink
move e2e-tests to pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
devserkan committed Sep 15, 2024
1 parent c3c4c0e commit 4e43ac2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 29 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@ jobs:
run: npm run build
- name: Test
run: npm run test
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
- name: Deploy app
if: ${{ env.SHOULD_DEPLOY == 'true' }}
run: flyctl deploy --remote-only
Expand Down
28 changes: 0 additions & 28 deletions .github/workflows/playwright.yml

This file was deleted.

2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const app = express()
const PORT = process.env.PORT || 5001

app.get('/version', (req, res) => {
res.send('14')
res.send('21')
})

app.get('/health', (req, res) => {
Expand Down

0 comments on commit 4e43ac2

Please sign in to comment.