You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/plugin-compat-workflow.yml
+30Lines changed: 30 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -24,3 +24,33 @@ jobs:
24
24
- name: 'Run the plugin-compat tests'
25
25
run: |
26
26
node ./scripts/run-yarn.js test:plugin-compat
27
+
28
+
check-patches:
29
+
name: 'Check that the patch files are consistent with fresh builds'
30
+
runs-on: ubuntu-latest
31
+
32
+
steps:
33
+
- uses: actions/checkout@v4
34
+
35
+
- uses: ./.github/actions/prepare
36
+
with:
37
+
use-volta: 'true'
38
+
39
+
- run: |
40
+
PKGS=$(ls -d packages/plugin-compat/extra)
41
+
if ! git diff --quiet "$(git merge-base origin/"$TARGET_BRANCH" HEAD)" HEAD -- 'packages/plugin-compat/extra/*'; then
42
+
for pkg in $PKGS; do
43
+
yarn "build:patch:$pkg"
44
+
done
45
+
else
46
+
for pkg in $PKGS; do
47
+
if ! git diff --quiet "$(git merge-base origin/"$TARGET_BRANCH" HEAD)" HEAD -- "packages/plugin-compat/sources/patches/$pkg.patch.ts" "packages/plugin-compat/extra/$pkg/"; then
0 commit comments