Extend timeouts for playwright tests (#9729) #781
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: Website (Production) | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| deploy: | |
| environment: | |
| name: Website | |
| url: ${{ steps.deploy.outputs.url }} | |
| env: | |
| VERCEL_ORG_ID: ${{ secrets.VERCEL_TEAM_ID }} | |
| VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@main | |
| - uses: ./.github/actions/ci-setup | |
| - run: git checkout HEAD -- examples/document-field-customisation/keystone-server | |
| - run: pnpm install -w vercel@canary --ignore-scripts | |
| - run: pnpm vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} | |
| - run: pnpm vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} | |
| - id: deploy | |
| run: | | |
| url=$(pnpm vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}) | |
| echo "url=$url" >> "$GITHUB_OUTPUT" |