We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be42e7c commit 4970a92Copy full SHA for 4970a92
.github/workflows/pull_request.yml
@@ -34,5 +34,5 @@ jobs:
34
uses: actions/upload-artifact@v2
35
with:
36
name: npm-dist-diff.html
37
- path: ./npm-dist-diff.html
+ path: ./reports/npm-dist-diff.html
38
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!');
} else {
- const reportPath = localRepoPath('npm-dist-diff.html');
+ const reportPath = localRepoPath('reports', 'npm-dist-diff.html');
fs.writeFileSync(reportPath, generateReport(diff));
console.log('Report saved to: ', reportPath);
}
0 commit comments