From 5aef2aafcb0fd33286db1017814b77c0d0fa19ff Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Thu, 7 Aug 2025 10:04:43 -0700 Subject: [PATCH] devops: switch to node 20 on CI (#844) Node 18 maintanence period ended in April 2025. Running on 18 already caused a problem in https://github.com/microsoft/playwright-mcp/pull/842 --- .github/workflows/ci.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4aa7066..dca6c39 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,10 +11,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Use Node.js 18 + - name: Use Node.js 20 uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' cache: 'npm' - name: Install dependencies run: npm ci @@ -32,11 +32,10 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - - name: Use Node.js 18 + - name: Use Node.js 20 uses: actions/setup-node@v4 with: - # https://github.com/microsoft/playwright-mcp/issues/344 - node-version: '18.19' + node-version: '20' cache: 'npm' - name: Install dependencies run: npm ci @@ -55,10 +54,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Use Node.js 18 + - name: Use Node.js 20 uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' cache: 'npm' - name: Install dependencies run: npm ci