Skip to content

Commit

Permalink
Explicitly run patch-package in examples-branch
Browse files Browse the repository at this point in the history
For reasons unknown to me, `npm install <path>` will not trigger
postinstall scripts [1].

[1] npm/cli#4804
  • Loading branch information
badeball committed Sep 20, 2024
1 parent 325c76f commit 80f9085
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/examples-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ jobs:
- name: Install NPM modules
working-directory: examples/${{ matrix.example }}
run: npm install --engine-strict badeball-*
# For reasons unknown to me, `npm install <path>` will not trigger postinstall scripts.
# See https://github.com/npm/cli/issues/4804.
- name: Patch packages
working-directory: examples/${{ matrix.example }}
run: npx patch-package
- name: Run Cypress
working-directory: examples/${{ matrix.example }}
run: |
Expand Down

0 comments on commit 80f9085

Please sign in to comment.