Skip to content

Commit

Permalink
chore: bump lhci references to 0.14 (#1050)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlj95 authored Jun 25, 2024
1 parent 03eff8f commit 82b272c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
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: 18
- run: npm install && npm install -g @lhci/cli@0.13.x
- run: npm install && npm install -g @lhci/cli@0.14.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.13.x
npm install -g @lhci/cli@0.14.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.13.x
npm install -g @lhci/cli@0.14.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.13.x
npm install -g @lhci/cli@0.14.x
lhci autorun
```
Expand All @@ -113,7 +113,7 @@ node_js: v16
addons:
chrome: stable
before_install:
- npm install -g @lhci/cli@0.13.x
- npm install -g @lhci/cli@0.14.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.13.x
- run: sudo npm install -g @lhci/cli@0.14.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.13.x
- npm install -g @lhci/cli@0.14.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.13.x
npm install -g @lhci/cli@0.14.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.13.x && lhci autorun --failOnUploadFailure']
args: ['-c', 'npm install -g @lhci/cli@0.14.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.13.x
npm install -g @lhci/cli@0.14.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.13.x # Install the Lighthouse CI CLI.
$ npm install -g @lhci/cli@0.14.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

0 comments on commit 82b272c

Please sign in to comment.