Skip to content

chore: replace npm install with npm ci in our workflows#1017

Merged
annawen1 merged 1 commit intocarbon-design-system:mainfrom
annawen1:chore/switch-to-npm-ci
Feb 27, 2026
Merged

chore: replace npm install with npm ci in our workflows#1017
annawen1 merged 1 commit intocarbon-design-system:mainfrom
annawen1:chore/switch-to-npm-ci

Conversation

@annawen1
Copy link
Member

@annawen1 annawen1 commented Feb 27, 2026

Closes #

Using npm install in our workflows can update the package-lock.json file which we don't want. Use npm ci instead to use the lock file exactly as-is and it won't rewrite the lock file. Add the --prefer-offline flag to optimize our ci workflows - it'll use cached tarballs if available before fetching the registry for anything missing

Changelog

Changed

  • npm install --> npm ci --prefer-offline in our workflow files

Testing / Reviewing

should pass ci-checks

@annawen1 annawen1 requested a review from a team as a code owner February 27, 2026 18:28
@netlify
Copy link

netlify bot commented Feb 27, 2026

Deploy Preview for carbon-ai-chat-demo ready!

Name Link
🔨 Latest commit 04ddb7c
🔍 Latest deploy log https://app.netlify.com/projects/carbon-ai-chat-demo/deploys/69a1e26b60bd25000871d78b
😎 Deploy Preview https://deploy-preview-1017--carbon-ai-chat-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Feb 27, 2026

Deploy Preview for ai-chat-components-react ready!

Name Link
🔨 Latest commit 04ddb7c
🔍 Latest deploy log https://app.netlify.com/projects/ai-chat-components-react/deploys/69a1e26b7a1037000822c5b9
😎 Deploy Preview https://deploy-preview-1017--ai-chat-components-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Feb 27, 2026

Deploy Preview for carbon-ai-chat-components ready!

Name Link
🔨 Latest commit 04ddb7c
🔍 Latest deploy log https://app.netlify.com/projects/carbon-ai-chat-components/deploys/69a1e26b588efe0008dc26bc
😎 Deploy Preview https://deploy-preview-1017--carbon-ai-chat-components.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ethanwinters ethanwinters added this pull request to the merge queue Feb 27, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 27, 2026
@annawen1 annawen1 added this pull request to the merge queue Feb 27, 2026
Merged via the queue into carbon-design-system:main with commit 1830cb0 Feb 27, 2026
19 checks passed
@annawen1 annawen1 deleted the chore/switch-to-npm-ci branch February 27, 2026 21:49
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.

2 participants