Skip to content

Commit 3a2c551

Browse files
authored
Merge pull request #16 from devserkan/move-e2e-tests-to-pipeline
move e2e-tests to pipeline
2 parents c3c4c0e + 4e43ac2 commit 3a2c551

File tree

3 files changed

+11
-29
lines changed

3 files changed

+11
-29
lines changed

.github/workflows/pipeline.yml

+10
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,16 @@ jobs:
2727
run: npm run build
2828
- name: Test
2929
run: npm run test
30+
- name: Install Playwright Browsers
31+
run: npx playwright install --with-deps
32+
- name: Run Playwright tests
33+
run: npx playwright test
34+
- uses: actions/upload-artifact@v4
35+
if: always()
36+
with:
37+
name: playwright-report
38+
path: playwright-report/
39+
retention-days: 30
3040
- name: Deploy app
3141
if: ${{ env.SHOULD_DEPLOY == 'true' }}
3242
run: flyctl deploy --remote-only

.github/workflows/playwright.yml

-28
This file was deleted.

app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const app = express()
55
const PORT = process.env.PORT || 5001
66

77
app.get('/version', (req, res) => {
8-
res.send('14')
8+
res.send('21')
99
})
1010

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

0 commit comments

Comments
 (0)