Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
hasan-py committed Oct 11, 2024
1 parent 0201845 commit 741c900
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 31 deletions.
42 changes: 23 additions & 19 deletions .github/workflows/playwright-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,29 @@ jobs:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Log current directory
run: pwd
- name: Node Version Setup
uses: actions/checkout@v4
uses: actions/setup-node@v4
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
node-version: "20"

- name: Navigate to client folder
working-directory: ./client
run: pwd
# - 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@v4
# if: ${{ !cancelled() }}
# with:
# name: playwright-report
# path: playwright-report/
# retention-days: 30

- 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@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30
12 changes: 0 additions & 12 deletions .github/workflows/test.yml

This file was deleted.

0 comments on commit 741c900

Please sign in to comment.