Skip to content

Update main.yml

Update main.yml #29

Workflow file for this run

playwright-test:
needs: deploy
name: Running Playwright's Test
timeout-minutes: 60
runs-on: ubuntu-latest # or macos-latest, windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x' # Измените на версию 16.x
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
# - uses: actions/setup-node@v2
# with:
# node-version: '18.x' # Уберите или закомментируйте этот шаг, если он есть
# - name: Run Playwright tests
# run: npx playwright test
- uses: actions/upload-artifact@v2
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30