fix: change permission collaborator #1668
Workflow file for this run
This file contains 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: 🎭 Playwright Tests | |
on: | |
push: | |
branches: [main, dev] | |
pull_request: | |
branches: [main, dev] | |
jobs: | |
test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }} | |
ref: ${{ github.head_ref }} | |
- name: Setup Node.js | |
uses: ./.github/actions/setup-node | |
- name: Install Playwright Browsers | |
run: pnpm exec playwright install --with-deps chromium | |
# build the example locally and run from the built files | |
- name: Build E2E Client | |
run: pnpm build:e2e | |
- name: Run Playwright Tests | |
run: pnpm exec playwright test | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 30 |