Skip to content

Use symbolic GitHub Actions Node.js versions #49403

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

Merged
merged 1 commit into from
Jun 6, 2022

Conversation

jablko
Copy link
Contributor

@jablko jablko commented Jun 6, 2022

What I did was, in the CI workflow, replace Node.js v18 with "*", v16 -> lts/* and v14 -> lts/-1. This will continue to test on the latest version of Node.js plus the last two LTS versions, but without updating the workflow when Node.js is released.

"*" will be v18 until October, when v19 is scheduled to be released, then v20 next April. lts/* and lts/-1 will be v16 and v14 until v18 enters LTS (also in October).

In the other workflows where we use a single version of Node.js I dropped the node-version actions/setup-node input, which will use the version that comes with the runner (currently v16).

While I was editing the actions/setup-node inputs I also dropped registry-url: https://registry.npmjs.org/ because:

I also dropped the CI: true environment variable because it's always set by GitHub Actions.

/cc @andrewbranch and @weswigham

@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Jun 6, 2022
@jablko jablko marked this pull request as ready for review June 6, 2022 18:52
@typescript-bot
Copy link
Collaborator

This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise.

Copy link
Member

@weswigham weswigham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sandersn these look like fine changes to me, how bout you?

@RyanCavanaugh RyanCavanaugh merged commit 0d7fbbb into microsoft:main Jun 6, 2022
@RyanCavanaugh
Copy link
Member

Thanks!

jablko added a commit to jablko/TypeScript that referenced this pull request Jun 7, 2022
jablko added a commit to jablko/TypeScript that referenced this pull request Jun 7, 2022
jablko added a commit to jablko/TypeScript that referenced this pull request Jun 7, 2022
sandersn added a commit that referenced this pull request Jun 7, 2022
… sharedmemory file (#49204)

* feat(sharedmemory): Added file waitAsync function

* fix: Adjusted promise return type

* Fix(sharedmemory): Addressed PR comments

* Fix: Removed unused @see at sharedmemory

* Feat: Added tests to shared memory

* Fix: fixed ordering in libs.json

* Feat: Added shared memory to line parser

* Update tests es2022SharedMemory.ts as sugested

Co-authored-by: Eyal Halpern Shalev <[email protected]>

* Update es2022SharedMemory.ts

* feat: Accepted baselines

* fix: Adjusted grammar changes in jsdoc

* fix(47821): skip nodes with export modifiers (#47829)

* Use symbolic GitHub Actions Node.js versions (#49403)

* update baselines

Co-authored-by: Eyal Halpern Shalev <[email protected]>
Co-authored-by: Oleksandr T <[email protected]>
Co-authored-by: Jack Bates <[email protected]>
Co-authored-by: Nathan Shively-Sanders <[email protected]>
jablko added a commit to jablko/TypeScript that referenced this pull request Jun 7, 2022
RyanCavanaugh pushed a commit that referenced this pull request Jun 7, 2022
* Fix up "Use symbolic GitHub Actions Node.js versions (#49403)"

* Use npm v6 to update package-lock.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants