Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump node version to match WordPress Core. #102

Merged
merged 8 commits into from
Dec 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,19 @@ jobs:

strategy:
matrix:
node-versions: [ '12', '14' ]
node-version:
- 20
- 21

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: ${{ matrix.node-version }}
check-latest: true

- name: Install NPM dependencies and build
run: npm ci
Expand Down
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/*
20
2 changes: 1 addition & 1 deletion lib/map_old_to_new_file_path.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const grunt = require( 'grunt' );
/**
* Replaces file names in the passed filePath with the file names in the fileMappings.
*
* @param {string} filePath The path to the file where the filenames should be replaced.
* @param {string} filePath The path to the file where the filenames should be replaced.
* @param {Object} fileMappings The file names to replace and the file names they should be replaced with.
*
* @return {void}
Expand Down
Loading
Loading