Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22.x"
registry-url: "https://registry.npmjs.org"
- run: npm install -g npm@latest
- run: npm install
Copy link

Copilot AI Nov 1, 2025

Choose a reason for hiding this comment

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

Running both npm install and npm ci is redundant and incorrect. The npm ci command removes node_modules and installs from the lockfile for reproducible builds, making the preceding npm install unnecessary. Remove line 22 and keep only npm ci for CI/CD environments.

Suggested change
- run: npm install

Copilot uses AI. Check for mistakes.
- run: npm ci
- run: npm run release
- run: npm publish
Loading