vercel.deployment.success #7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Endform tests on main | |
| on: | |
| repository_dispatch: | |
| types: | |
| - 'vercel.deployment.success' | |
| jobs: | |
| e2e-tests: | |
| timeout-minutes: 5 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: lts/* | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Run Playwright tests with Endform | |
| run: npx endform@latest test | |
| env: | |
| ENDFORM_API_KEY: ${{ secrets.ENDFORM_API_KEY }} |