Skip to content

Commit e4c2b2c

Browse files
authored
chore(deps): node 16, storybook, esbuild (#839)
1 parent ada2782 commit e4c2b2c

File tree

8 files changed

+1380
-1147
lines changed

8 files changed

+1380
-1147
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
uses: actions/checkout@v2
2424
with:
2525
fetch-depth: 0
26-
- name: Use Node.js 14.x
26+
- name: Use Node.js 16.x
2727
uses: actions/setup-node@v1
2828
with:
29-
node-version: 14.x
29+
node-version: 16.x
3030
- run: yarn
3131
- run: yarn build
3232
- run: yarn test:unit
@@ -70,10 +70,10 @@ jobs:
7070
uses: actions/checkout@v2
7171
with:
7272
fetch-depth: 0
73-
- name: Use Node.js 14.x
73+
- name: Use Node.js 16.x
7474
uses: actions/setup-node@v1
7575
with:
76-
node-version: 14.x
76+
node-version: 16.x
7777
- name: Configure Environment
7878
run: |-
7979
echo "CHROME_PATH=$(which google-chrome-stable)" >> $GITHUB_ENV

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/checkout@v2
2121
- uses: actions/setup-node@v1
2222
with:
23-
node-version: 14
23+
node-version: 16
2424
- run: npm install && npm install -g @lhci/[email protected]
2525
- run: npm run build
2626
- run: lhci autorun

docs/complex-setup.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ exit $EXIT_CODE
3838

3939
To run Lighthouse CI, you'll need...
4040

41-
- Node v10 LTS or later
41+
- Node v16 LTS or later
4242
- Chrome Stable or later
4343
- (if Ubuntu) Xenial or later
4444

@@ -77,9 +77,9 @@ script:
7777
7878
# Example if your travis build runs a matrix like...
7979
# matrix:
80-
# - 12
81-
# - 10
82-
if [[ "$TRAVIS_NODE_VERSION" != "10" ]]; then
80+
# - 18
81+
# - 16
82+
if [[ "$TRAVIS_NODE_VERSION" != "18" ]]; then
8383
echo "Only run Lighthouse CI once per build, node version is not the selected version.";
8484
exit 0;
8585
fi

docs/getting-started.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ jobs:
8585
runs-on: ubuntu-latest
8686
steps:
8787
- uses: actions/checkout@v2
88-
- name: Use Node.js 12.x
88+
- name: Use Node.js 16.x
8989
uses: actions/setup-node@v1
9090
with:
91-
node-version: 12.x
91+
node-version: 16.x
9292
- name: npm install, build
9393
run: |
9494
npm install
@@ -109,7 +109,7 @@ jobs:
109109
110110
```yaml
111111
language: node_js
112-
node_js: v12
112+
node_js: v16
113113
addons:
114114
chrome: stable
115115
before_install:
@@ -171,7 +171,7 @@ module.exports = {
171171
**.gitlab-ci.yml**
172172

173173
```yaml
174-
image: cypress/browsers:node14.15.0-chrome86-ff82
174+
image: cypress/browsers:node16.17.0-chrome106
175175
lhci:
176176
script:
177177
- npm install
@@ -198,7 +198,7 @@ echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" | sud
198198
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
199199
200200
# Add Node's apt-key
201-
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
201+
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
202202
203203
# Install NodeJS and Google Chrome
204204
sudo apt-get update
@@ -256,16 +256,16 @@ module.exports = {
256256
steps:
257257
- id: 'install'
258258
args: ['npm', 'ci']
259-
name: node:14-alpine
259+
name: node:16-alpine
260260
261261
- id: 'build'
262262
waitFor: ['install']
263-
name: node:14-alpine
263+
name: node:16-alpine
264264
args: ['npm', 'run', 'build']
265265
266266
- id: 'lighthouse'
267267
waitFor: ['build']
268-
name: cypress/browsers:node14.15.0-chrome86-ff82
268+
name: cypress/browsers:node16.17.0-chrome106
269269
entrypoint: '/bin/sh'
270270
args: ['-c', 'npm install -g @lhci/[email protected] && lhci autorun --failOnUploadFailure']
271271
env:
@@ -363,10 +363,10 @@ jobs:
363363
- uses: actions/checkout@v2
364364
with:
365365
ref: ${{ github.event.pull_request.head.sha }}
366-
- name: Use Node.js 10.x
366+
- name: Use Node.js 16.x
367367
uses: actions/setup-node@v1
368368
with:
369-
node-version: 10.x
369+
node-version: 16.x
370370
- name: npm install, build
371371
run: |
372372
npm install

docs/introduction-to-ci.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ A vendor that provides hosted services and version control integrations to facil
2626

2727
## Setting Up CI
2828

29-
There are many CI providers out there to choose from. Lighthouse CI works with any provider that offers a stable environment with Node 10 LTS or later and stable Chrome. Below are some common providers documentation on how to get started.
29+
There are many CI providers out there to choose from. Lighthouse CI works with any provider that offers a stable environment with Node 16 LTS or later and stable Chrome. Below are some common providers documentation on how to get started.
3030

3131
- [GitHub Actions](https://help.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow)
3232
- [GitLab CI](https://docs.gitlab.com/ee/ci/quick_start/)

docs/server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ alt="Screenshot of the Lighthouse CI server diff UI" width="48%">
1414

1515
The LHCI server can be run in any node environment with persistent disk storage or network access to a postgres/mysql database.
1616

17-
- Node v14 LTS
17+
- Node v16 LTS
1818
- Database Storage (sqlite, mysql, or postgresql)
1919

2020
### General

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@
2929
},
3030
"devDependencies": {
3131
"@chialab/esbuild-plugin-html": "^0.15.14",
32-
"@storybook/addon-actions": "^6.4.13",
33-
"@storybook/addon-links": "^6.4.13",
34-
"@storybook/addon-storyshots": "^6.4.13",
35-
"@storybook/addon-storyshots-puppeteer": "^6.4.13",
36-
"@storybook/addons": "^6.4.13",
37-
"@storybook/preact": "^6.4.13",
32+
"@storybook/addon-actions": "^6.5.13",
33+
"@storybook/addon-links": "^6.5.13",
34+
"@storybook/addon-storyshots": "^6.5.13",
35+
"@storybook/addon-storyshots-puppeteer": "^6.5.13",
36+
"@storybook/addons": "^6.5.13",
37+
"@storybook/preact": "^6.5.13",
3838
"@testing-library/dom": "^5.4.0",
3939
"@types/body-parser": "^1.17.0",
4040
"@types/compression": "^1.0.1",
@@ -56,7 +56,7 @@
5656
"@types/yargs": "^12.0.8",
5757
"@types/yargs-parser": "^11.0.0",
5858
"@typescript-eslint/parser": "^5.10.2",
59-
"esbuild": "^0.14.11",
59+
"esbuild": "^0.15.13",
6060
"eslint": "^8.8.0",
6161
"eslint-config-google": "^0.14.0",
6262
"eslint-config-prettier": "^8.3.0",
@@ -79,7 +79,7 @@
7979
"prop-types": "^15.7.2",
8080
"puppeteer": "^13.1.2",
8181
"rimraf": "^3.0.2",
82-
"sqlite3": "^5.0.0",
82+
"sqlite3": "^5.1.2",
8383
"ts-jest": "^27.1.3",
8484
"typescript": "^4.5.4"
8585
}

0 commit comments

Comments
 (0)