Closed KaiDoering closed 7 months ago
When the flag includePassedAssertions is used in lighthouserc the action will fail, because it is assumed that the assertion result files only contains failed results. Filtering for results with passed: false should fix this.
includePassedAssertions
passed: false
Minimal lighthouserc.js to reproduce:
module.exports = { ci: { assert: { includePassedAssertions: true, assertions: { "categories:performance": ["error", { minScore: 0.01 }], }, }, }, };
Any plan on when this will be merged?
Merged and updated v11
v11
When the flag
includePassedAssertions
is used in lighthouserc the action will fail, because it is assumed that the assertion result files only contains failed results. Filtering for results withpassed: false
should fix this.Minimal lighthouserc.js to reproduce: