@samitouri / QOS-React-1 / commits / 5ebc9fe388

[feedback] Add github action to run e2e test

Lauren Tan committed Oct 31, 2023 at 12:16 UTC 5ebc9fe388db123077c215b726aa1f80c98806bb
1 file changed +28
compiler/.github/workflows/forget-feedback.yml new
+28
@@ -0,0 +1,28 @@
1 +name: Forget Feedback
2 +
3 +on:
4 + push:
5 + branches: ["main"]
6 + paths:
7 + - .github/workflows/**
8 + - forget-feedback/**
9 + pull_request:
10 + paths:
11 + - .github/workflows/**
12 + - forget-feedback/**
13 +
14 +jobs:
15 + e2e:
16 + name: e2e
17 + runs-on: ubuntu-latest
18 + defaults:
19 + run:
20 + working-directory: forget-feedback/testapp
21 + steps:
22 + - uses: actions/checkout@v3
23 + - uses: actions/setup-node@v3
24 + with:
25 + node-version: 20.x
26 + - run: npm ci
27 + - run: npx playwright install
28 + - run: npm run test:e2e