We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9793a01 commit e2703b5Copy full SHA for e2703b5
2 files changed
.github/workflows/pull_request.yml
@@ -54,5 +54,5 @@ jobs:
54
uses: actions/upload-artifact@v4
55
with:
56
name: npm-dist-diff.html
57
- path: ./npm-dist-diff.html
+ path: ./reports/npm-dist-diff.html
58
if-no-files-found: ignore
resources/diff-npm-package.ts
@@ -32,7 +32,7 @@ const diff = execOutput(`npm diff --diff=${fromPackage} --diff=${toPackage}`);
32
if (diff === '') {
33
console.log('No changes found!');
34
} else {
35
- const reportPath = localRepoPath('npm-dist-diff.html');
+ const reportPath = localRepoPath('reports', 'npm-dist-diff.html');
36
fs.writeFileSync(reportPath, generateReport(diff));
37
console.log('Report saved to: ', reportPath);
38
}
0 commit comments