Skip to content

Commit

Permalink
Tools: Update workflows to Node 16.x to match nvmrc
Browse files Browse the repository at this point in the history
`12.x` is incompatible with `cssnano`.
  • Loading branch information
iandunn committed Nov 22, 2023
1 parent 8bf7fde commit 03c5bd1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 03c5bd1

Please sign in to comment.