Skip to content

Commit 64c04e2

Browse files
committed
Fix
1 parent ae8077d commit 64c04e2

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/cd-api.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
name: Deploy API on Version Change
2-
1+
name: CD API
32
on:
43
push:
54
paths:
@@ -47,6 +46,16 @@ jobs:
4746
echo "changed=true" >> $GITHUB_OUTPUT
4847
fi
4948
49+
- name: Setup Node.js
50+
if: steps.check.outputs.changed == 'true'
51+
uses: actions/setup-node@v4
52+
with:
53+
node-version: '22'
54+
55+
- name: Install dependencies
56+
if: steps.check.outputs.changed == 'true'
57+
run: yarn install
58+
5059
- name: Run deploy script
5160
if: steps.check.outputs.changed == 'true'
5261
run: |

0 commit comments

Comments
 (0)