Skip to content

Commit

Permalink
Merge pull request #102 from WordPress/node20
Browse files Browse the repository at this point in the history
Bump node version to match WordPress Core.
  • Loading branch information
aaronjorbin authored Dec 21, 2023
2 parents 929fa06 + 3a82ea5 commit b92284a
Show file tree
Hide file tree
Showing 6 changed files with 20,772 additions and 17,781 deletions.
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

0 comments on commit b92284a

Please sign in to comment.