From 2a46c3987f806ea4aae642320101440260b1aba9 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Wed, 9 Dec 2020 20:55:42 +0000 Subject: [PATCH] Build/Test Tools: Use NodeJS 14 in GitHub Action workflows. 14.x is the current LTS release, and is what `trunk` currently runs. See #50401. git-svn-id: https://develop.svn.wordpress.org/trunk@49782 602fd350-edb4-49c9-b593-d223f7449a82 --- .github/workflows/coding-standards.yml | 2 +- .github/workflows/end-to-end-tests.yml | 2 +- .github/workflows/javascript-tests.yml | 2 +- .github/workflows/phpunit-tests.yml | 4 ++-- .github/workflows/verify-npm-on-windows.yml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index 1b9342e477..e14eecc141 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -105,7 +105,7 @@ jobs: - name: Install NodeJS uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 14 - name: Cache NodeJS modules uses: actions/cache@v2 diff --git a/.github/workflows/end-to-end-tests.yml b/.github/workflows/end-to-end-tests.yml index ec7e2b970e..5769d52422 100644 --- a/.github/workflows/end-to-end-tests.yml +++ b/.github/workflows/end-to-end-tests.yml @@ -65,7 +65,7 @@ jobs: - name: Install NodeJS uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 14 - name: Cache NodeJS modules uses: actions/cache@v2 diff --git a/.github/workflows/javascript-tests.yml b/.github/workflows/javascript-tests.yml index 54ccc47931..1a331114aa 100644 --- a/.github/workflows/javascript-tests.yml +++ b/.github/workflows/javascript-tests.yml @@ -45,7 +45,7 @@ jobs: - name: Install NodeJS uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 14 - name: Cache NodeJS modules uses: actions/cache@v2 diff --git a/.github/workflows/phpunit-tests.yml b/.github/workflows/phpunit-tests.yml index d90a671ed2..848d48815a 100644 --- a/.github/workflows/phpunit-tests.yml +++ b/.github/workflows/phpunit-tests.yml @@ -66,7 +66,7 @@ jobs: - name: Install NodeJS uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 14 - name: Cache NodeJS modules uses: actions/cache@v2 @@ -161,7 +161,7 @@ jobs: - name: Install NodeJS uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 14 - name: Use cached Node modules uses: actions/cache@v2 diff --git a/.github/workflows/verify-npm-on-windows.yml b/.github/workflows/verify-npm-on-windows.yml index 598e982fd7..f403d2c628 100644 --- a/.github/workflows/verify-npm-on-windows.yml +++ b/.github/workflows/verify-npm-on-windows.yml @@ -47,7 +47,7 @@ jobs: - name: Install NodeJS uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 14 - name: Get NPM cache directory id: npm-cache