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
- name: Set up Bazel Environment
uses: rodydavis/shared-actions/setup-bazel@main
with:
node_version: '24'
cache: 'pnpm'
git_token: ${{ secrets.GIT_TOKEN }}