Skip to content

Commit e2703b5

Browse files
IvanGoncharovyaacovCR
authored andcommitted
diff-npm-package: move report into shared 'reports' folder (#3611)
1 parent 9793a01 commit e2703b5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@ jobs:
5454
uses: actions/upload-artifact@v4
5555
with:
5656
name: npm-dist-diff.html
57-
path: ./npm-dist-diff.html
57+
path: ./reports/npm-dist-diff.html
5858
if-no-files-found: ignore

resources/diff-npm-package.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const diff = execOutput(`npm diff --diff=${fromPackage} --diff=${toPackage}`);
3232
if (diff === '') {
3333
console.log('No changes found!');
3434
} else {
35-
const reportPath = localRepoPath('npm-dist-diff.html');
35+
const reportPath = localRepoPath('reports', 'npm-dist-diff.html');
3636
fs.writeFileSync(reportPath, generateReport(diff));
3737
console.log('Report saved to: ', reportPath);
3838
}

0 commit comments

Comments
 (0)