Skip to content

Commit 6bf6c4d

Browse files
nicolethoenclaude
andcommitted
fix: add puppeteer as direct devDependency for a11y CI
puppeteer was only a transitive dependency via @patternfly/patternfly-a11y, so npx couldn't find it in Yarn 4. Adding it as a direct devDependency matches the setup in other patternfly repos. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 75c8f32 commit 6bf6c4d

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.github/workflows/build-lint-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ jobs:
147147
- run: yarn install --immutable
148148
if: steps.yarn-cache.outputs.cache-hit != 'true'
149149
- name: Install Chrome for Puppeteer
150-
run: npx @puppeteer/browsers@latest install chrome@stable
150+
run: npx puppeteer browsers install chrome
151151
- uses: actions/cache@v4
152152
id: dist
153153
name: Cache dist

packages/module/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
"@patternfly/react-table": "^6.0.0",
4848
"camel-case": "^3.0.0",
4949
"monaco-editor": "^0.34.1",
50+
"puppeteer": "^24.15.0",
5051
"react-monaco-editor": "^0.51.0",
5152
"resize-observer-polyfill": "^1.5.1",
5253
"tslib": "^2.0.0"

yarn.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4064,6 +4064,7 @@ __metadata:
40644064
camel-case: "npm:^3.0.0"
40654065
memoize-one: "npm:^5.1.0"
40664066
monaco-editor: "npm:^0.34.1"
4067+
puppeteer: "npm:^24.15.0"
40674068
react-monaco-editor: "npm:^0.51.0"
40684069
resize-observer-polyfill: "npm:^1.5.1"
40694070
tslib: "npm:^2.0.0"

0 commit comments

Comments
 (0)