Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion .github/workflows/protos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,20 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

# Setup Node.js
- name: Setup Node.js
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
cache-dependency-path: ./yarn.lock
cache: "yarn"
node-version: 20

# Install dependencies (needed for ts-proto plugin)
- name: Install Dependencies
uses: bahmutov/npm-install@3e063b974f0d209807684aa23e534b3dde517fd9 # v1.11.2
with:
useLockFile: false

# Setup Buf CLI - will pull proto from buf.build/permifyco/permify
- name: Setup Buf
uses: bufbuild/buf-action@8f4a1456a0ab6a1eb80ba68e53832e6fcfacc16c # v1.3.0
Expand All @@ -35,7 +49,7 @@ jobs:

# Generate TypeScript code from Buf Schema Registry
- name: Generate Code with Buf
run: buf generate
run: yarn buf:generate

# Check if there are any changes
- name: Check for changes
Expand Down
Loading