update: workflow npm commands updated#8466
Conversation
There was a problem hiding this comment.
Pull request overview
This PR modernizes the GitHub Actions workflows by standardizing on npm ci for dependency installation and configuring OIDC-based publishing to npm, eliminating the need for long-lived authentication tokens.
- Replaces
npm installwithnpm ciacross workflow files for more deterministic builds - Configures OIDC permissions for trusted publishing to npm
- Updates GitHub Actions (checkout@v4, setup-node@v4) and Node.js version (18 → 24)
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/test-server.yml | Standardizes Docker dependency installation to use npm ci |
| .github/workflows/test-functional.yml | Standardizes Docker dependency installation to use npm ci |
| .github/workflows/test-dependencies.yml | Updates dependency check to use npm ci with package-lock-only flag |
| .github/workflows/publish.yml | Adds OIDC permissions, updates actions/Node versions, removes NPM_TOKEN in favor of OIDC, and standardizes to npm ci |
| .github/workflows/license-check.yml | Updates dependency installation commands to use npm ci |
| .github/workflows/deploy-to-artifacts.yml | Standardizes dependency installation to use npm ci |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
This pull request has been automatically marked as stale because it has not had any activity for a long period. It will be closed and archived if no further activity occurs. However, we may return to this pull request in the future. If it is still relevant or you have any additional information regarding it, please leave a comment and we will keep it open. |
Purpose
Describe the problem you want to address or the feature you want to implement.
Approach
Describe how your changes address the issue or implement the desired functionality in as much detail as possible.
References
Provide a link to the existing issue(s), if any.
Pre-Merge TODO