From c35c8b363a8f6023ab9387f5a762858a8f091f33 Mon Sep 17 00:00:00 2001 From: Tierney Cyren Date: Mon, 3 Jun 2024 13:54:50 -0400 Subject: [PATCH 1/2] ci: update CI to use reasonable verisons of Node.js and npm Signed-off-by: Tierney Cyren --- .github/workflows/nodejs.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 80524ea9c..21a4a5f3a 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -1,4 +1,4 @@ -name: Node CI +name: Node.js CI on: [pull_request] @@ -8,12 +8,12 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node-version: [14, 16] + node-version: [latest, lts] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} # - name: Cache node modules @@ -34,9 +34,9 @@ jobs: # ${{ matrix.os }}-${{ matrix.node-version }}-cypress-${{ env.cache-name }}- # ${{ matrix.os }}-${{ matrix.node-version }}-cypress- # ${{ matrix.os }}-${{ matrix.node-version }}- - - name: install npm v8 + - name: install latest npm run: | - npm install -g npm@8 + npm install -g npm@latest - name: npm install, build, and test run: | npm install From 952c6699ac8f5bf88480310dc23954ec37460f29 Mon Sep 17 00:00:00 2001 From: Tierney Cyren Date: Mon, 3 Jun 2024 14:00:54 -0400 Subject: [PATCH 2/2] ci: fix Node.js version names in matrix Signed-off-by: Tierney Cyren --- .github/workflows/nodejs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 21a4a5f3a..76d7f224a 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node-version: [latest, lts] + node-version: [current, lts/*] steps: - uses: actions/checkout@v4