Skip to content

Commit

Permalink
Fix playwright workflow (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
pashidlos authored Aug 8, 2023
1 parent 7e435bc commit 9c8ef39
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,14 @@ jobs:
- name: Install dependencies
run: npm ci

- id: get-branch-name
run: echo "::set-output name=branch_name::$(git symbolic-ref --short HEAD)"
shell: bash

- name: Run Playwright tests
run: npx playwright test
env:
VRT_APIURL: "https://visual-regression-tracker.com:4200"
VRT_PROJECT: "VRT"
VRT_ENABLESOFTASSERT: false
VRT_APIKEY: ${{ secrets.VRT_API_KEY }}
VRT_BRANCHNAME: ${{ github.head_ref || steps.get-branch-name.outputs.branch_name }}
VRT_BRANCHNAME: ${{ github.head_ref || github.ref_name }}
VRT_CIBUILDID: "Github run_id: ${{ github.run_id }}"

- uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 9c8ef39

Please sign in to comment.