Skip to content

Commit

Permalink
remove duplicate step, make artifact names more unique
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac Boyd committed Jul 26, 2024
1 parent baae3e8 commit 2f3b3e7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/actions/build-and-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ runs:
TESTFILES=$(find lib -name '*.spec.ts')
for file in $TESTFILES; do
filename=$(basename "$file" .spec.ts)
JEST_JUNIT_OUTPUT_NAME="${{ github.sha }}_node${{ inputs.node_version }}_${filename}_results.xml" \
JEST_JUNIT_OUTPUT_NAME="${{ github.sha }}_${{ github.run_id }}_node${{ inputs.node_version }}_${filename}_results.xml" \
yarn test $file --ci --reporters=default --reporters=jest-junit
done
env:
Expand All @@ -34,11 +34,6 @@ runs:
JEST_JUNIT_UNIQUE_OUTPUT_NAME: "true"
shell: bash

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
path: ./test-reports

- name: Build the documentation.
run: |-
set -uex
Expand Down

0 comments on commit 2f3b3e7

Please sign in to comment.