diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 085a309..069a4ab 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -19,9 +19,23 @@ jobs: node-version: [18.x, 20.x, 22.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + steps: - - uses: test-summary/action@v2.4 - - uses: actions/checkout@v4 + - name: Test Summary + uses: test-summary/action@v2 + with: + paths: "test/results/**/TEST-*.xml" + output: test-summary.md + if: always() + + - name: Upload test summary + uses: actions/upload-artifact@v3 + with: + name: test-summary + path: test-summary.md + if: always() + - name: Use checkout repository + uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: