diff --git a/.github/workflows/ci-docs.yml b/.github/workflows/ci-docs.yml index 7a0e97c..959fd61 100644 --- a/.github/workflows/ci-docs.yml +++ b/.github/workflows/ci-docs.yml @@ -19,6 +19,10 @@ jobs: - name: Installing project dependencies run: | npm ci + # Greenwood specific patches + - name: Run patch-package + run: | + npx patch-package - name: Setup Playwright run: | npx playwright install --with-deps diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index badb437..24e491e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -11,6 +11,7 @@ To develop for the project, you'll want to follow these steps: 1. Clone the repository 1. Have [NodeJS LTS](https://nodejs.org) installed and / or use `nvm` (see below) 1. Run `npm ci` +1. Run `npx patch-package` 1. Run `npx playwright install` ### NVM diff --git a/package.json b/package.json index ea0f754..67a9395 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,7 @@ "test:tdd:jsx": "npm run test:jsx -- --watch", "test:docs": "vitest run --coverage", "test:docs:tdd": "vitest", - "prepare": "husky", - "postinstall": "patch-package" + "prepare": "husky" }, "dependencies": { "@projectevergreen/acorn-jsx-esm": "~0.1.0",