File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 4545 JEST_JUNIT_OUTPUT_NAME : unit-results.xml
4646 JEST_JUNIT_OUTPUT_DIR : test-results/unit
4747 run : npm run test:unit -- --reporters="default" --reporters="jest-junit" --coverage --coverageReporters=text --coverageReporters=lcov --maxWorkers="2"
48- - name : Store Unit Test Results
49- uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3
50- with :
51- name : unit-test-output
52- path : ./test-results/*
5348 - name : Run Build
5449 env :
5550 NODE_OPTIONS : --max-old-space-size=4000
@@ -74,11 +69,12 @@ jobs:
7469 JEST_JUNIT_OUTPUT_NAME : results.txt
7570 JEST_JUNIT_OUTPUT_DIR : test-results/integration
7671 run : npm run test:integration -- --reporters="default" --reporters="jest-junit"
77- - name : Store Integration Test Results
72+ - name : Store Test Results
73+ if : always() # Even if tests fail
7874 uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3
7975 with :
80- name : integration- test-output
81- path : ./test-results/*
76+ name : test-output
77+ path : ./test-results/* # Both unit and integration test results
8278 - run : |
8379 if [[ ${{contains(github.ref, 'hotfix')}} ]]; then
8480 sed -e "s|hotfix/REPLACE|${{ github.ref_name }}|" --in-place release.config.js
You can’t perform that action at this time.
0 commit comments