colindembovsky / cols-agent-tasks

Colin's ALM Corner Custom Build Tasks
MIT License
83 stars 65 forks source link

Update azure-pipelines-task-lib to ^3.1.7" #176

Closed mtrenouth closed 2 years ago

mtrenouth commented 2 years ago

Azure Devops issues warning because using "node 6 execution handler" was given in azure devops. This will deprecate next year.

MS provided this update readme and it looked as if updating typescript and the task lib were the only things that needed to be done.
https://github.com/microsoft/azure-pipelines-tasks/blob/master/docs/migrateNode10.md

mtrenouth commented 2 years ago

@colindembovsky I'm not sure how to fully test this, but running yarn install operations and yarn test works. I'm sure you have more things that need to be done to validate and modify, but I figured I would give you a head start on getting this updated.

colindembovsky commented 2 years ago

@mtrenouth thanks for this - I have a heap of libs to update since I haven't updated this repo in a while. I'm going to close this PR for now, but will update the node handler as part of my work.

I've actually done this in a branch, but the Pipeline tasks I was using are old, so I have to update the pipeline too! I had to update mocha and the mocha config and then nyc didn't work as I expected it to - suffice to say, I am working on this! I've got the build working, but the release needs some work since the publish tasks I was using are deprecated and I need to upgrade. I'll complete this next week.