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

update action to Node 20 and bump packages #18

Merged
merged 7 commits into from
Jun 19, 2024

Conversation

Djontleman
Copy link

@Djontleman Djontleman commented Apr 22, 2024

Problem

Node 16 actions are deprecated. This action should be updated to Node 20.

Changes

  • Update action and workflows to use Node 20
  • Update dependencies (see comment)
  • Remove unused files

## Testing

Tested in my own fork after merging the same changes (Djontleman#1).

Workflow run: https://github.com/Djontleman/workflow-dispatch/actions/runs/8785890431

@@ -1,6 +1,6 @@
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
Copy link
Author

Choose a reason for hiding this comment

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

Copy link
Author

Choose a reason for hiding this comment

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

Removed this file as is not used from what I can tell. May have been left over from the original action.

Copy link
Author

Choose a reason for hiding this comment

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

Removed as this version of the action appears to use yarn. Also left over from original action which used npm.

Comment on lines +19 to +25
"@actions/core": "1.10.1",
"@actions/github": "6.0.0",
"@typescript-eslint/eslint-plugin": "7.7.0",
"@typescript-eslint/parser": "7.7.0",
"@vercel/ncc": "0.38.1",
"eslint": "8.57.0",
"typescript": "5.4.5"
Copy link
Author

Choose a reason for hiding this comment

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

All of these have been updated to their latest versions.

The exception is eslint which is has been updated to latest 8. This is the only package which I think may have large breaking changes.

Should also note that the master branch currently has a lot of eslint errors, probably allowed to be merge due to no automated testing.

@@ -1,6 +1,6 @@
{
"name": "workflow-dispatch-and-wait",
"version": "3.0.0",
"version": "4.0.0",
Copy link
Author

Choose a reason for hiding this comment

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

Most actions have seen have treated going from Node 16 to Node 20 as a breaking change.

@Djontleman Djontleman marked this pull request as ready for review April 22, 2024 15:21
@Djontleman
Copy link
Author

Hi @aurelien-baudet, would you be able to review?

@StummeJ
Copy link

StummeJ commented Apr 26, 2024

@Djontleman given this repo looks abandoned, could you tag this in your repo as v4, v4.0, and v4.0.0?

@Djontleman
Copy link
Author

I have created v4, v4.0 and v4.0.0 tags: https://github.com/Djontleman/workflow-dispatch/releases/tag/v4.0.0
I haven't published to Marketplace though, not sure on the etiquette here.

@aurelien-baudet
Copy link
Collaborator

Sorry, I have no more time and energy to maintain this repository. I even don't have computer anymore. Someone of you should for this repository and merge the different pull requests.
Tell me who creates the fork and I will archive this repository but indicate which repository follows up

@fbiesse
Copy link
Collaborator

fbiesse commented May 13, 2024

@Djontleman I wanted to know if you're planning to take over on this action.
If not, I propose to create a fork, update readme, integrate your developments and maintain it.
Tell me

@Djontleman
Copy link
Author

Djontleman commented May 13, 2024

Hi @fbiesse I don't plan to maintain this. I'm happy for you to if you're up for it.

@VincentLanglet
Copy link

Hi, FYI benc-uk#73

@fbiesse fbiesse merged commit 7ef5140 into the-actions-org:master Jun 19, 2024
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.

5 participants