Skip to content

Commit 262dd6a

Browse files
committed
link
1 parent 16364c3 commit 262dd6a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/lh-smoke.yml

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131

3232
# lighthouse
3333
- run: yarn --cwd node_modules/lighthouse/ install --frozen-lockfile --network-timeout 1000000
34+
- run: yarn reset-link
3435
- run: yarn --cwd node_modules/lighthouse/ build-report
3536

3637
- name: Run smoke tests

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"test-formatting": "test/check-formatting.sh",
1212
"format": "scripts/format.sh",
1313
"type-check": "tsc --allowJs --checkJs --noEmit --target es2019 *.js",
14-
"prepublishOnly": "npm run build && npm run test"
14+
"prepublishOnly": "npm run build && npm run test",
15+
"reset-link": "(yarn unlink || true) && yarn link && yarn --cwd node_modules/lighthouse/ link chrome-launcher"
1516
},
1617
"bin": {
1718
"print-chrome-path": "bin/print-chrome-path.js"

0 commit comments

Comments
 (0)