diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab06f110b..a2a67f686 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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: |- diff --git a/README.md b/README.md index 111de6864..7c4aa62e5 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/docs/recipes/docker-client/Dockerfile b/docs/recipes/docker-client/Dockerfile index 25e367d34..cad7e3f55 100644 --- a/docs/recipes/docker-client/Dockerfile +++ b/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 diff --git a/docs/recipes/docker-server/Dockerfile b/docs/recipes/docker-server/Dockerfile index 127e09c5b..2ec154343 100644 --- a/docs/recipes/docker-server/Dockerfile +++ b/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 diff --git a/packages/cli/test/collect-psi.test.js b/packages/cli/test/collect-psi.test.js index 8ce223345..37c88642d 100644 --- a/packages/cli/test/collect-psi.test.js +++ b/packages/cli/test/collect-psi.test.js @@ -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);