docs: add README files for all shared actions
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# Setup Bazel
|
||||
|
||||
Installs Node.js, Bazelisk, and configures Git credentials to resolve private dependencies over SSH.
|
||||
|
||||
## Inputs
|
||||
|
||||
| Name | Description | Required | Default |
|
||||
| :--- | :--- | :--- | :--- |
|
||||
| `node_version` | The version of Node.js to install. | No | `24` |
|
||||
| `cache` | The package manager cache (e.g. `pnpm`, `npm`, `yarn`) to use with `actions/setup-node`. | No | |
|
||||
| `git_token` | Gitea access token used to authenticate SSH dependencies over HTTPS. | No | |
|
||||
|
||||
## Example Usage
|
||||
|
||||
```yaml
|
||||
- name: Set up Bazel Environment
|
||||
uses: rodydavis/shared-actions/setup-bazel@main
|
||||
with:
|
||||
node_version: '24'
|
||||
cache: 'pnpm'
|
||||
git_token: ${{ secrets.GIT_TOKEN }}
|
||||
```
|
||||
Reference in New Issue
Block a user