Skip to content
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

Bump CI node version to 20 #2217

Merged
merged 3 commits into from
Apr 16, 2024
Merged

Bump CI node version to 20 #2217

merged 3 commits into from
Apr 16, 2024

Conversation

pokey
Copy link
Member

@pokey pokey commented Feb 1, 2024

To get rid of deprecation warnings, eg https://github.com/cursorless-dev/cursorless/actions/runs/7742075291. See https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/ for more info

Checklist

  • [-] I have added tests
  • [-] I have updated the docs and cheatsheet
  • [-] I have not broken the cheatsheet

@pokey pokey marked this pull request as draft February 1, 2024 13:51
@pokey pokey requested a review from auscompgeek February 1, 2024 13:52
.nvmrc Outdated Show resolved Hide resolved
@pokey pokey force-pushed the pokey/bump-node-version branch from d5e4087 to f7321ff Compare February 1, 2024 13:56
with:
fetch-depth: 0
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
- run: corepack enable
Copy link
Member Author

Choose a reason for hiding this comment

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

@pokey pokey marked this pull request as ready for review April 16, 2024 11:55
@pokey pokey added this pull request to the merge queue Apr 16, 2024
Merged via the queue into main with commit 3f2a79b Apr 16, 2024
14 checks passed
@pokey pokey deleted the pokey/bump-node-version branch April 16, 2024 12:04
pokey added a commit that referenced this pull request Apr 17, 2024
github-merge-queue bot pushed a commit that referenced this pull request Apr 18, 2024
Windows CI started failing due to a node.js regression. We should really
be pinning node, like we pin pnpm and all our pnpm dependencies. The
only things we don't want to pin are OS version and vscode version

This PR pins node and adds some debug output for the future

## Checklist

- [x] Pin node using technique removed from #2217
- [x] Double-check pnpm pinning
- [x] Keep some of the print statements here
- [x] Remove code that slices args
- [ ] Add checklist somewhere of versions to check when this kind of
thing happens
  - [ ] node version (note this will be pinned)
  - [ ] OS version
  - [ ] vscode version
- [-] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [-] I have updated the
[docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and
[cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet)
- [-] I have not broken the cheatsheet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants