From d50fada80d5285e9ae9874f947668e2cff860c95 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Fri, 9 Aug 2024 09:19:44 -0400 Subject: [PATCH] CI test with Node 20 --- .github/workflows/nodejs.yml | 5 ++--- .github/workflows/publish.yml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 78ef136..0ee2f15 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -6,10 +6,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Use Node.js 16.x + - name: Use Node.js 20.x uses: actions/setup-node@v2 with: - node-version: 16.x + node-version: 20.x - name: npm install, build, and test run: | npm install @@ -17,4 +17,3 @@ jobs: npm test env: CI: true - diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5d8cef4..8b98a17 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 registry-url: https://registry.npmjs.org/ cache: npm - run: npm ci