Skip to content

Commit 9c8ef39

Browse files
authored
Fix playwright workflow (#323)
1 parent 7e435bc commit 9c8ef39

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/playwright.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,14 @@ jobs:
2121
- name: Install dependencies
2222
run: npm ci
2323

24-
- id: get-branch-name
25-
run: echo "::set-output name=branch_name::$(git symbolic-ref --short HEAD)"
26-
shell: bash
27-
2824
- name: Run Playwright tests
2925
run: npx playwright test
3026
env:
3127
VRT_APIURL: "https://visual-regression-tracker.com:4200"
3228
VRT_PROJECT: "VRT"
3329
VRT_ENABLESOFTASSERT: false
3430
VRT_APIKEY: ${{ secrets.VRT_API_KEY }}
35-
VRT_BRANCHNAME: ${{ github.head_ref || steps.get-branch-name.outputs.branch_name }}
31+
VRT_BRANCHNAME: ${{ github.head_ref || github.ref_name }}
3632
VRT_CIBUILDID: "Github run_id: ${{ github.run_id }}"
3733

3834
- uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)