v4.0.1
Updates Node.js version to 22 and action versions to v4.
This update modifies the GitHub Actions workflow to use Node.js version 22 and upgrades the checkout and setup-node actions to version 4. This ensures compatibility with newer language features and best practices.
Changes
- Updated
actions/checkouttov4innpm-publish.yml. - Updated
actions/setup-nodetov4innpm-publish.yml. - Modified the
node-versionfrom18to22innpm-publish.yml. - Added permissions to the workflow file to allow for repository contents access, package publishing, and GitHub OIDC authentication.
Impact
- The workflow now uses
Node.js 22, potentially improving performance and compatibility with newernpm packages. - The updated actions might include new features or bug fixes.
- No immediate breaking changes are apparent.
- The addition of permissions allows the workflow to securely publish packages using GitHub's OIDC provider.
Full Changelog: v4.0.0...v4.0.1