Skip to content

Conversation

@Shubh-Raj
Copy link
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>
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.

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

1 participant