ci: Update GitHub Actions workflows to latest versions with improved controls#4
Open
andi1984-ds wants to merge 1 commit intomasterfrom
Open
ci: Update GitHub Actions workflows to latest versions with improved controls#4andi1984-ds wants to merge 1 commit intomasterfrom
andi1984-ds wants to merge 1 commit intomasterfrom
Conversation
…controls - Fix NPM publishing: Restrict 'publish-on-cloudsmith' to master branch only (prevents PRs from publishing) - Add concurrency controls: Serialize package publishing (1 at a time) and builds to prevent race conditions - Upgrade deprecated actions: actions/checkout v3→v4, actions/setup-node v3→v4, actions/upload-artifact v3→v4 - Add npm dependency caching: Speeds up builds by caching node_modules - Add artifact retention policy: Set 60-day retention for all artifacts per requirements - Improve formatting: Consistent indentation and formatting across all workflows Fixes: - NPM package builds no longer run on pull requests - Resolves deprecation warning for actions/upload-artifact@v3 - Eliminates potential race conditions with concurrency control
brunouber
reviewed
Mar 16, 2026
|
|
||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: '16' |
There was a problem hiding this comment.
Is it possible to update node-version?
|
|
||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: '16' |
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: '16' | ||
| cache: 'npm' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes: