From 03c5bd1716a831168ada61934dd6a1528c6e280f Mon Sep 17 00:00:00 2001 From: Ian Dunn Date: Wed, 22 Nov 2023 10:57:13 -0800 Subject: [PATCH] Tools: Update workflows to Node 16.x to match `nvmrc` `12.x` is incompatible with `cssnano`. --- .github/workflows/linter.yml | 6 +++--- .github/workflows/unit-tests.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index e131487506..e7d5b33933 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -26,10 +26,10 @@ jobs: path: '**/node_modules' key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - - name: Use Node.js 12.x + - name: Use Node.js 16.x uses: actions/setup-node@v2-beta with: - node-version: 12.x + node-version: 16.x - name: composer install run: | @@ -47,4 +47,4 @@ jobs: - name: Lint PHP run: | - BASE_REF=${{ github.base_ref }} php .github/bin/phpcs-branch.php + BASE_REF=${{ github.base_ref }} php .github/bin/phpcs-branch.php diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 9b47841b57..d5490801ba 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -24,10 +24,10 @@ jobs: path: '**/node_modules' key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - - name: Use Node.js 12.x + - name: Use Node.js 16.x uses: actions/setup-node@v2-beta with: - node-version: 12.x + node-version: 16.x - name: Install dependencies # We don't need to build, since jest can interpret the source files.