Fix Replace Tokens task Node.js compatibility for Azure Pipelines agents
The Replace Tokens task was failing on Azure Pipelines due to a Node.js version compatibility issue. The task was configured to use Node16 execution target but modern Azure Pipelines agents now use Node.js 20+, causing the task to fail when users upgraded from version 1.2.114 to 1.2.162.
Changes Made
- Updated execution target from
Node16toNode20intask.json - Incremented patch version from 1.2.28 to 1.2.29
"execution": {
- "Node16": {
+ "Node20": {
"target": "replaceTokens.js",
"argumentFormat": ""
}
}
Testing
All existing tests continue to pass and now correctly use Node.js v20.13.1 instead of v16.20.2, confirming the compatibility fix works as expected.
This resolves the issue where users were unable to downgrade to previous versions and experienced failures even after upgrading their Node.js environment to version 23.x.
Fixes #218.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
@colindembovsky 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs.
I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review.
@colindembovsky, any indication when this PR gets merged? This should resolve our warnings in the Pipelines.
Any updates on getting this released?