From 5ebc9fe388db123077c215b726aa1f80c98806bb Mon Sep 17 00:00:00 2001 From: Lauren Tan Date: Tue, 31 Oct 2023 12:16:33 -0400 Subject: [PATCH] [feedback] Add github action to run e2e test --- .../.github/workflows/forget-feedback.yml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 compiler/.github/workflows/forget-feedback.yml diff --git a/compiler/.github/workflows/forget-feedback.yml b/compiler/.github/workflows/forget-feedback.yml new file mode 100644 index 0000000000..a932a654b8 --- /dev/null +++ b/compiler/.github/workflows/forget-feedback.yml @@ -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