Skip to content

chore(ci): update GitHub Actions and add npm caching#55

Open
Shubh-Raj wants to merge 1 commit into
accordproject:mainfrom
Shubh-Raj:chore/update-npm-publish-workflow
Open

chore(ci): update GitHub Actions and add npm caching#55
Shubh-Raj wants to merge 1 commit into
accordproject:mainfrom
Shubh-Raj:chore/update-npm-publish-workflow

Conversation

@Shubh-Raj
Copy link
Copy Markdown
Contributor

Description

Fixes #54

Updates the npm-publish.yml workflow to use the latest GitHub Actions versions and adds npm caching for faster builds.

Changes

  • Updated actions/checkout from v3 to v4
  • Updated actions/setup-node from v3 to v4
  • Added npm caching via cache: 'npm' parameter

Benefits

  • Security: v4 includes latest security patches
  • Performance: npm caching reduces npm ci time on cache hits
  • Maintenance: Aligns with GitHub's current recommendations

Testing

  • Verified YAML syntax is valid
  • Workflow parses correctly in GitHub Actions UI

@Shubh-Raj Shubh-Raj force-pushed the chore/update-npm-publish-workflow branch from 3b3127c to 1dfb808 Compare January 8, 2026 13:35
- Update actions/checkout from v3 to v4
- Update actions/setup-node from v3 to v4
- Add npm caching for faster builds

Signed-off-by: Shubh-Raj <shubhraj625@gmail.com>
@mttrbrts
Copy link
Copy Markdown
Member

Thanks for this contribution! Before we can review, please resolve the merge conflicts with the base branch.

git fetch origin main
git rebase origin/main
# Resolve conflicts
git push --force-with-lease

Once the conflicts are resolved, we'll proceed with the review.


This comment was generated by AI on behalf of @mttrbrts.

@Shubh-Raj
Copy link
Copy Markdown
Contributor Author

Thanks for this contribution! Before we can review, please resolve the merge conflicts with the base branch.

git fetch origin main
git rebase origin/main
# Resolve conflicts
git push --force-with-lease

Once the conflicts are resolved, we'll proceed with the review.

This comment was generated by AI on behalf of @mttrbrts.

working on it.

@github-actions github-actions Bot added the maintainer-engaged A maintainer has commented or reviewed this item label May 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer-engaged A maintainer has commented or reviewed this item

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: Update GitHub Actions and add npm caching in npm-publish workflow

2 participants