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

build!: update action and dependencies to node 20 #768

Merged
merged 2 commits into from
Jul 30, 2024

Conversation

hugo-vrijswijk
Copy link
Contributor

@hugo-vrijswijk hugo-vrijswijk commented Feb 3, 2024

Node 16 actions will be deprecated soon and are already giving warnings in CI when this action is used.

@hugo-vrijswijk hugo-vrijswijk force-pushed the update-node-20 branch 2 times, most recently from 14a15ec to 045613e Compare February 3, 2024 11:24
@hugo-vrijswijk hugo-vrijswijk force-pushed the update-node-20 branch 3 times, most recently from b9482ae to da56655 Compare February 26, 2024 09:56
@hugo-vrijswijk
Copy link
Contributor Author

A lot of tests are failing due to incorrect lint result comparisons. Probably due to a different build since the last time this repo was touched. I've updated a few of them, but I think fixing the CI is outside of scope for this PR. Other PR's also seem to be failing. I'm not familiar enough with the code or most of the tools to want to touch them any more.

Edits are allowed by maintainers, so any fixes to the build can be picked up by someone else (@ocean90 ?) .

@INRIX-Iurii-Okhmat
Copy link

@ocean90, @hugo-vrijswijk
Hello,
I wonder what needs to happen to get this moving? We rely heavily on this action across numerous projects and it's pretty much the only one left not updated to node20

@ocean90
Copy link
Member

ocean90 commented Mar 14, 2024

I wonder what needs to happen to get this moving?

We'd need someone who can make the tests passing again. Either in this PR or in a separate one.

@hugo-vrijswijk
Copy link
Contributor Author

My suggestion would be to merge this PR and fix the tests in a separate one. I'm not familiar enough with this repo to do it, but I don't know who would be

@erikburt
Copy link

erikburt commented Apr 29, 2024

This action is likely to break on May 13 - see https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/.

Node16 has been out of support since September 2023. As a result we have started the deprecation process of Node16 for GitHub Actions. We plan to migrate all actions to run on Node20 by Spring 2024.
Following on from our warning in workflows using Node16 we will start enforcing the use of Node20 rather than Node16 on the 13th of May.


@ocean90 can you prioritize merging this, and the tests can be fixed retroactively.

@ocean90
Copy link
Member

ocean90 commented May 3, 2024

@ocean90 can you prioritize merging this, and the tests can be fixed retroactively.

That's not possible. The tests need to be fixed first so we can ensure that changes in this PR don't introduce any issues.

@hugo-vrijswijk
Copy link
Contributor Author

@ocean90 can you prioritize merging this, and the tests can be fixed retroactively.

That's not possible. The tests need to be fixed first so we can ensure that changes in this PR don't introduce any issues.

The failing build is due to an outdated build environment setup. Any CI job on master will also fail currently. That makes developing very difficult, as I don't know what/if I've broken with my changes. If the master branch is stable, I'd be more than happy to update this PR and get everything green.

Many people are dependent on this action, which as mentioned above will likely break in less than two weeks (May 13). It would be very helpful if this got merged soon, so someone who knows the code can fix the tests. Merging this now (and publishing a release) would at the very least give people a working version after May 13.

It seems this repo is not very actively maintained any more. If there is no one to actively maintain it, it's understandable, but I think a lot of people would appreciate it if the repo could be archived with a clear notice, or transferred to someone who can maintain it.

@erikburt
Copy link

Although Github extended the deprecation of node16 by a few months, I have removed any of my dependencies on this action.

I unfortunately suggest you do the same.

@dystopiandev
Copy link

What did you switch to? @erikburt

@hugo-vrijswijk
Copy link
Contributor Author

I was only using stylelint and prettier, so switching was just a two-line script:

      - name: Run linters
        run: |
          npx prettier --check .
          npx stylelint --formatter github .

@hugo-vrijswijk
Copy link
Contributor Author

I'm closing this PR. It's a shame this repo seems like it's dead, and not a very good sign for an organization that wants to have a good open source image

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 25, 2024
@wearerequired wearerequired unlocked this conversation Jul 30, 2024
@ocean90 ocean90 reopened this Jul 30, 2024
@ocean90 ocean90 merged commit df31ae8 into wearerequired:master Jul 30, 2024
13 of 19 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants