[feedback] Add github action to run e2e test

This commit is contained in:
Lauren Tan
2023-10-31 12:16:33 -04:00
parent 3246dc641f
commit 5ebc9fe388
+28
View File
@@ -0,0 +1,28 @@
name: Forget Feedback
on:
push:
branches: ["main"]
paths:
- .github/workflows/**
- forget-feedback/**
pull_request:
paths:
- .github/workflows/**
- forget-feedback/**
jobs:
e2e:
name: e2e
runs-on: ubuntu-latest
defaults:
run:
working-directory: forget-feedback/testapp
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.x
- run: npm ci
- run: npx playwright install
- run: npm run test:e2e