Skip to content

Commit

Permalink
Update pr-vrt.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
piyush-2712 authored Feb 2, 2025
1 parent ef210ec commit 0c23cb7
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/pr-vrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,29 +41,6 @@ jobs:
- run: yarn install --frozen-lockfile
- run: yarn playwright install --with-deps

- name: Run VR tests (generate screenshots)
run: yarn nx affected run-many -t test-vr --nxBail

- name: Prepare VR screenshots for upload
uses: actions/github-script@v7
id: screenshots_root
with:
script: |
const run = require('./.github/scripts/prepare-vr-screenshots-for-upload');
const config = {
projects: ['vr-tests-web-components', 'vr-tests-react-components', 'vr-tests', 'docs']
};
const result = await run({github,context,core,config});
return result;
result-encoding: string

- name: Upload VR screenshots
uses: actions/upload-artifact@v4
with:
name: vrscreenshot
retention-days: 1
path: ${{steps.screenshots_root.outputs.result}}

- name: Save PR number
run: echo ${{ github.event.number }} > pr.txt
- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 0c23cb7

Please sign in to comment.