ci: updated github actions ci workflow by Phillip9587 · Pull Request #6314 · expressjs/express

Skip to content

Navigation Menu

Sign in

Appearance settings

Comments

Conversation

@Phillip9587

I noticed that the current CI workflow in this repository could benefit from some updates. Specifically:

  1. Deprecation of Artifact Actions v3:

    • The actions/upload-artifact@v3 and actions/download-artifact@v3 actions are being deprecated as of November 30, 2024 (GitHub Deprecation Notice).
    • These actions should be updated to their latest versions to ensure continued functionality in the CI workflow.
    • CI Runs are currently failing like in PR chore(deps): update debug to ^4.4.0 #6313
  2. The Coverage setup could also be optimized:

    • Currently, the workflow uses the coverallsapp/github-action@master which points to v1 of this action. This v1 action uses node16 as runtime which is deprecated.
  3. Minimum token permissions for the GITHUB_TOKEN:

  4. lint step install only dev dependencies

bjohansebas

UlisesGascon

wesleytodd

@UlisesGascon

I will merge this PR as currently has a fix for our broken CI (example)

Screenshot from 2025-02-05 13-26-26

@UlisesGascon

@Phillip9587 do you mind to port this to 4.x branch too? Seems like the CI is broken too (ref) :)

Phillip9587 added a commit to Phillip9587/express that referenced this pull request

Feb 5, 2025

wesleytodd pushed a commit that referenced this pull request

Feb 12, 2025