Skip to content

Commit

Permalink
chore: bump to node 18 (#989)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: minimum supported node is now 18
  • Loading branch information
connorjclark committed Dec 14, 2023
1 parent 5d30e52 commit c5bde95
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Expand Up @@ -23,10 +23,10 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js 16.x
- name: Use Node.js 18.16
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.16
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn build
Expand Down Expand Up @@ -71,10 +71,10 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js 16.x
- name: Use Node.js 18.16
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.16
cache: yarn
- name: Configure Environment
run: |-
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- run: npm install && npm install -g @lhci/cli@0.12.x
- run: npm run build
- run: lhci autorun
Expand Down
2 changes: 1 addition & 1 deletion docs/recipes/docker-client/Dockerfile
@@ -1,4 +1,4 @@
FROM node:16-bullseye-slim
FROM node:18-bullseye-slim

# Set variable so puppeteer will not try to download chromium
ENV PUPPETEER_SKIP_DOWNLOAD=true
Expand Down
2 changes: 1 addition & 1 deletion docs/recipes/docker-server/Dockerfile
@@ -1,4 +1,4 @@
FROM node:16-bullseye-slim
FROM node:18-bullseye-slim

# Install utilities
RUN apt-get update --fix-missing && apt-get install -y python build-essential && apt-get clean
Expand Down
3 changes: 2 additions & 1 deletion packages/cli/test/collect-psi.test.js
Expand Up @@ -69,7 +69,8 @@ describe('Lighthouse CI collect CLI using PSI', () => {
`);
expect(stderr).toMatchInlineSnapshot(`
"Error: PSI Failed (UNKNOWN): Oops
at PsiClient.run"
at PsiClient.run
at process.processTicksAndRejections"
`);
expect(status).toEqual(1);
}, 180000);
Expand Down

0 comments on commit c5bde95

Please sign in to comment.