diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml new file mode 100644 index 00000000..7626fef5 --- /dev/null +++ b/.github/workflows/playwright.yml @@ -0,0 +1,22 @@ +name: Run Playwright Script +on: + workflow_dispatch: # Allows you to run this workflow manually from the Actions tab + +jobs: + run-playwright: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: '20' + + - name: Install dependencies + run: npm install + + - name: Run Playwright script + run: node fulfillment.spec.js