A GitHub action to install Cerbos binaries (cerbos and cerbosctl) for use in workflows.
Cerbos helps you super-charge your authorization implementation by writing context-aware access control policies for your application resources. Find out more about Cerbos using the following resources:
If version is not specified or set to latest, the action will download the latest Cerbos release.
steps:
- name: Setup Cerbos
uses: cerbos/cerbos-setup-action@v1
with:
github_token: <github_token>
version: lateststeps:
- name: Setup Cerbos
uses: cerbos/cerbos-setup-action@v1
with:
github_token: <github_token>
version: latest
- name: Show versions
run: |
cerbos --version
cerbosctl versionYou'll need to install
-
Node.js, matching the version specified in our .node-version file
-
pnpm, matching the version specified in our package.json file
- After installing Node.js, you can enable Corepack to transparently install the correct
pnpmversion:$ corepack enable
- After installing Node.js, you can enable Corepack to transparently install the correct
pnpm run build