Skip to content

chore: improve build robustness#2554

Merged
shadowspawn merged 2 commits into
yargs:mainfrom
shadowspawn:stable-build
Jul 11, 2026
Merged

chore: improve build robustness#2554
shadowspawn merged 2 commits into
yargs:mainfrom
shadowspawn:stable-build

Conversation

@shadowspawn

Copy link
Copy Markdown
Member
  • update and pin GitHub actions
  • add package-lock.json
  • add CI test with updated direct dependencies
  • lint changes from updates

Over the last few years the builds have often been broken by in-range updates to dependencies, especially development dependencies. Add package-lock.json to make the build more reliable. To reduce the risk of missing breakages introduced by updates to production dependencies (which will affect yargs users), added a CI job which updates the direct dependencies then runs the tests.

- pin GitHub actions
- add package-lock.json
- add CI test with updated direct dependencies
- lint changes from updates
@shadowspawn

shadowspawn commented Jun 28, 2026

Copy link
Copy Markdown
Member Author

FYI: @wesleytodd

Adding package-lock.json et al.

(Mentioned in nodejs/citgm#1106)

@shadowspawn
shadowspawn merged commit 4153e0f into yargs:main Jul 11, 2026
7 checks passed
@shadowspawn
shadowspawn deleted the stable-build branch July 11, 2026 01:41
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.

1 participant