Skip to content

Commit

Permalink
Remove handling exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
dottxado committed Jan 24, 2025
1 parent b3d6f49 commit 21caed6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/test-playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,9 @@ jobs:
npx playwright install ${{ inputs.PLAYWRIGHT_BROWSER_ARGS }}
- name: Run script for test
id: run-playwright-test
continue-on-error: true
run: |
npm run ci-test:${{ inputs.SCRIPT_NAME }}
echo "TEST_EXIT_CODE=$?" >> $GITHUB_OUTPUT
- name: Upload artifact
uses: actions/upload-artifact@v4
Expand All @@ -151,8 +149,3 @@ jobs:
overwrite: ${{ inputs.ARTIFACT_OVERWRITE }}
include-hidden-files: ${{ inputs.ARTIFACT_INCLUDE_HIDDEN_FILES }}
retention-days: ${{ inputs.ARTIFACT_RETENTION_DAYS }}

- name: Exit the status of the test
run: |
echo "$TEST_EXIT_CODE"
exit ${{ steps.run-playwright-test.outputs.TEST_EXIT_CODE }}

0 comments on commit 21caed6

Please sign in to comment.