Skip to content

Commit 2f207c4

Browse files
authored
Update protos.yml
1 parent e573970 commit 2f207c4

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/protos.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,22 @@ jobs:
5050
5151
echo "Successfully copied the proto directory to $TARGET_DIR."
5252
53+
- name: Install Node.js and Dependencies
54+
uses: actions/setup-node@v3
55+
with:
56+
node-version: '18'
57+
5358
- name: Install Buf
5459
run: |
5560
# Download and install buf
5661
wget https://github.com/bufbuild/buf/releases/download/v1.7.0/buf-Linux-x86_64 -O /usr/local/bin/buf
5762
chmod +x /usr/local/bin/buf
5863
buf --version
59-
64+
6065
- name: Generate Code with Buf
6166
run: |
6267
# Navigate to the proto directory and run buf generate
68+
npm install
6369
buf generate
6470
6571
- name: Add and Commit Changes

0 commit comments

Comments
 (0)