Skip to content

Conversation

@Fdawgs
Copy link
Member

@Fdawgs Fdawgs commented Nov 27, 2025

Required to use the caching feature of actions/setup-node. See: https://github.com/fastify/org-admin/actions/runs/19744227114
Have also removed publishConfig as this probably won't be published to npm as it's an app/tool, not a module, just like our website repo.

Alternative is we disable the caching in the workflow?

Checklist

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a package-lock.json file to enable npm caching in GitHub Actions workflows, improving CI performance. The changes also include workflow updates to use the latest action versions and switch from npm i to npm ci for more reliable installs.

  • Addition of package-lock.json with lockfileVersion 3
  • Removal of publishConfig from package.json (appropriate for app/tool projects)
  • Removal of package-lock=false from .npmrc to allow lock file generation
  • GitHub workflow updates to use newer action versions and enable caching

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
package-lock.json New lock file generated with npm v7+ (lockfileVersion 3) for dependency management and caching
package.json Removed publishConfig section since this is an app/tool, not a published module
.npmrc Removed package-lock=false directive to allow lock file creation
.github/workflows/emeritus-check.yml Updated to actions/checkout@v6, actions/setup-node@v6, added check-latest and cache configuration, switched to npm ci

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

Copy link
Member

@Eomm Eomm left a comment

Choose a reason for hiding this comment

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

can we add the dependabot configuration?

Copy link
Member

Choose a reason for hiding this comment

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

Alternative is we disable the caching in the workflow?

I tend to agree with that

Copy link
Member Author

Choose a reason for hiding this comment

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

@Eomm, okay so should i revert all of this and just remove the caching?

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, no pro on that

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