Merged
Conversation
Collaborator
gabrielrufino
commented
Mar 14, 2026
- feat: support npm, yarn and pnpm package managers
- fix: split setup-node into two steps to support corepack-based caching
- fix: make package manager caching optional based on lock file existence
- feat: add step duration and install info to PR comments
- Add `package-manager` input (defaults to `npm`) - Use `corepack enable` to handle package manager binaries - Add input validation using `@actalog/expect@v1` - Update all internal commands to be dynamic based on the selected manager - Update CI workflow to test all managers via matrix - Update README with new documentation and usage examples
- Install Node.js first to ensure `corepack` is available in the environment - Enable `corepack` before configuring the package manager cache - Run `setup-node` a second time to handle caching now that shims are in PATH - Add explanatory comments for the dual-step approach and ensure version consistency
- Use `hashFiles` to check for `pnpm-lock.yaml`, `yarn.lock`, or `package-lock.json` - Only enable the `cache` input in `setup-node` if the corresponding file exists - Prevent workflow failures when the selected manager's lock file is missing - Simplify logic using a ternary-like expression directly in the YAML
- Calculate execution time for install, build, lint, and test steps - Add 'Install' step and 'Duration' column to the PR summary table - Use manual timestamp calculation to provide duration in seconds - Format and align the summary table in `action.yml` for better readability
@actalog/node-ciNode CI completed! Steps
Statistics
Outdated packagesEnvironment
|
@actalog/node-ciNode CI completed! Steps
Statistics
Outdated packagesEnvironment
|
@actalog/node-ciNode CI completed! Steps
Statistics
Outdated packagesEnvironment
|
@actalog/node-ciNode CI completed! Steps
Statistics
Outdated packagesEnvironment
|
@actalog/node-ciNode CI completed! Steps
Statistics
Outdated packagesEnvironment
|
@actalog/node-ciNode CI completed! Steps
Statistics
Outdated packagesEnvironment
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.