Skip to content

Commit

Permalink
chore: refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
nsbarsukov committed Oct 2, 2024
1 parent a5b0ab2 commit 8e549c8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/e2e-cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ env:
CYPRESS_BASELINE_REPO: 'baseline'
CYPRESS_RESULTS_FOLDER: 'projects/demo-cypress/tests-results'
CYPRESS_BASELINE_SNAPSHOTS: 'projects/demo-cypress/tests-results/snapshots/baseline'
CYPRESS_SNAPSHOTS_ARTIFACTS_KEY:
'cypress-e2e-artifacts--${{ github.event.pull_request.head.sha || github.sha }}-${{ github.run_id }}-${{
github.event.number }}'

jobs:
cypress:
Expand All @@ -32,6 +29,7 @@ jobs:
- name: Run tests for baseline state
run: |
cd ${{ env.CYPRESS_BASELINE_REPO }}
tree ${{env.CYPRESS_CACHE_FOLDER}} -L 4
npx nx component-test demo-cypress
cd ../
mkdir -p ${{ env.CYPRESS_BASELINE_SNAPSHOTS }} && cp -r ${{ env.CYPRESS_BASELINE_REPO }}/${{env.CYPRESS_BASELINE_SNAPSHOTS }}/. ${{ env.CYPRESS_BASELINE_SNAPSHOTS }}
Expand Down

0 comments on commit 8e549c8

Please sign in to comment.