diff --git a/.github/actions/test-code/action.yml b/.github/actions/test-code/action.yml index 3a4c3730..a8788f17 100644 --- a/.github/actions/test-code/action.yml +++ b/.github/actions/test-code/action.yml @@ -5,6 +5,10 @@ inputs: description: Name of branch to store baseline on required: false default: master + node: + description: The version of Node.js to use. + required: false + default: 18 runs: using: composite steps: @@ -16,11 +20,11 @@ runs: - name: Upload test results uses: actions/upload-artifact@master with: - name: test-results + name: test-results-${{ inputs.node }} path: .jest-results.json - name: Upload coverage report uses: actions/upload-artifact@master with: - name: coverage-report + name: coverage-report-${{ inputs.node }} path: coverage diff --git a/.github/workflows/change-assurance.yml b/.github/workflows/change-assurance.yml index 49622612..8b4c3a76 100644 --- a/.github/workflows/change-assurance.yml +++ b/.github/workflows/change-assurance.yml @@ -39,6 +39,8 @@ jobs: - name: Run unit tests uses: ./.github/actions/test-code + with: + node: ${{ matrix.node }} libs: name: Build libraries