Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/clean-donkeys-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@spectrum-tools/gh-action-file-diff": major
---

This update optimizes and abstracts more the approach to comparing compiled assets. The input fields no focus on gathering package sources and more heavily relies on the exports field of the package.json to determine what assets should be compared. At the end of the processing and comparison, the diff assets are generated and a website built to review the updates.
7 changes: 3 additions & 4 deletions .github/actions/file-diff/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ inputs:
description: "GITHUB_TOKEN for the repository."
required: false
default: ${{ github.token }}
file-glob-pattern:
description: "Glob pattern for filtering of the files."
required: false
default: "**/dist/**"
package-pattern:
description: "Glob pattern for the package directories."
required: true
comment:
description: "Whether to comment on the PR."
required: false
Expand Down
Loading
Loading