Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instruct users to install Lighthouse CI 0.12 #927

Merged
merged 2 commits into from
Aug 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm install && npm install -g @lhci/cli@0.11.x
- run: npm install && npm install -g @lhci/cli@0.12.x
- run: npm run build
- run: lhci autorun
```
Expand Down
4 changes: 2 additions & 2 deletions docs/complex-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fi

npm run deploy

npm install -g @lhci/cli@0.11.x
npm install -g @lhci/cli@0.12.x
lhci healthcheck --fatal
lhci collect --url=http://localhost:9000/index.html
lhci assert --preset="lighthouse:recommended"
Expand Down Expand Up @@ -121,7 +121,7 @@ Now that we have our environment ready, time to run Lighthouse CI. The `collect`
# Install Lighthouse CI
# If you're already using node to manage your project, add it to your package.json `devDependencies` instead to skip this step.
npm install -g @lhci/cli@0.11.x
npm install -g @lhci/cli@0.12.x

# Run a healthcheck to make sure everything looks good before we run collection.
lhci healthcheck --fatal
Expand Down
16 changes: 8 additions & 8 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
npm run build
- name: run Lighthouse CI
run: |
npm install -g @lhci/cli@0.11.x
npm install -g @lhci/cli@0.12.x
lhci autorun
```
Expand All @@ -113,7 +113,7 @@ node_js: v16
addons:
chrome: stable
before_install:
- npm install -g @lhci/cli@0.11.x
- npm install -g @lhci/cli@0.12.x
script:
- npm run build
- lhci autorun
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
- browser-tools/install-chrome
- run: npm install
- run: npm run build
- run: sudo npm install -g @lhci/cli@0.11.x
- run: sudo npm install -g @lhci/cli@0.12.x
- run: lhci autorun
```
Expand Down Expand Up @@ -176,7 +176,7 @@ lhci:
script:
- npm install
- npm run build
- npm install -g @lhci/cli@0.11.x
- npm install -g @lhci/cli@0.12.x
- lhci autorun --upload.target=temporary-public-storage --collect.settings.chromeFlags="--no-sandbox" || echo "LHCI failed!"
```

Expand Down Expand Up @@ -218,7 +218,7 @@ npm run build
export CHROME_PATH=$(which google-chrome-stable)
export LHCI_BUILD_CONTEXT__EXTERNAL_BUILD_URL="$BUILD_URL"
npm install -g @lhci/cli@0.11.x
npm install -g @lhci/cli@0.12.x
lhci autorun
```

Expand Down Expand Up @@ -267,7 +267,7 @@ steps:
waitFor: ['build']
name: cypress/browsers:node16.17.0-chrome106
entrypoint: '/bin/sh'
args: ['-c', 'npm install -g @lhci/cli@0.11.x && lhci autorun --failOnUploadFailure']
args: ['-c', 'npm install -g @lhci/cli@0.12.x && lhci autorun --failOnUploadFailure']
env:
- 'LHCI_BUILD_CONTEXT__CURRENT_BRANCH=$BRANCH_NAME'
Expand Down Expand Up @@ -373,7 +373,7 @@ jobs:
npm run build
- name: run Lighthouse CI
run: |
npm install -g @lhci/cli@0.11.x
npm install -g @lhci/cli@0.12.x
lhci autorun
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
Expand Down Expand Up @@ -471,7 +471,7 @@ Once the server is set up, _on your local laptop or desktop_, make sure you can
```bash
$ curl https://your-lhci-server.example.com/version # Make sure you can connect to your server.
0.x.x
$ npm install -g @lhci/cli@0.11.x # Install the Lighthouse CI CLI.
$ npm install -g @lhci/cli@0.12.x # Install the Lighthouse CI CLI.
Installing...
$ lhci wizard # Use the wizard to create a project.
? Which wizard do you want to run? new-project
Expand Down