https://github.com/danoc/pnpm-setup-composite-action
A GitHub Action that sets up pnpm
https://github.com/danoc/pnpm-setup-composite-action
Last synced: 4 months ago
JSON representation
A GitHub Action that sets up pnpm
- Host: GitHub
- URL: https://github.com/danoc/pnpm-setup-composite-action
- Owner: danoc
- License: mit
- Created: 2022-10-23T20:29:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-28T17:52:31.000Z (about 2 years ago)
- Last Synced: 2026-02-06T03:22:42.633Z (5 months ago)
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `danoc/pnpm-setup-composite-action`
This composite GitHub Action checks out a codebase, sets up Node, pnpm, installs dependencies, and manages a cache.
## Requirements
1. A `.node-version` file in the root of your repository
2. A `"packageManager": "pnpm@"` field in the root `package.json` file
These requirements are opinionated because this was created for [@danoc](https://github.com/danoc) to use in personal projects.
## Publishing a new version
1. Create a new Git tag with `git tag -a -m "" v`.
2. Push the tag to GitHub with `git push --follow-tags`.