Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Seeuagaen committed May 20, 2024
1 parent 9ce6a3b commit 5a6eca0
Showing 1 changed file with 22 additions and 21 deletions.
43 changes: 22 additions & 21 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
playwright-test:
needs: deploy
name: Running Playwright's Test
timeout-minutes: 60
runs-on: ubuntu-latest # or macos-latest, windows-latest
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' # изменить версию Node.js на 16.x
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
# - 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

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14.x'
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
# - 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

0 comments on commit 5a6eca0

Please sign in to comment.