docsforadobe / Types-for-Adobe

TypeScript types for Adobe: AfterEffects, Animate, Audition, Illustrator, InDesign, Photoshop, Premiere, ScriptUI.
517 stars 124 forks source link

Update workflow action dependencies #116

Closed MikeOverbeck closed 9 months ago

MikeOverbeck commented 9 months ago

nodejs.yml is 3 years old, and the dependencies need updating. Typescript 5.1 introduced a breaking change that affects the actions workflow that was set to node v12, making tests fail. https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-1.html#breaking-changes Warnings were still being thrown from actions/checkout@v2 and actions/node@v1:

The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1.
For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

so upgraded those to latest major version.