We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae8077d commit 64c04e2Copy full SHA for 64c04e2
1 file changed
.github/workflows/cd-api.yml
@@ -1,5 +1,4 @@
1
-name: Deploy API on Version Change
2
-
+name: CD API
3
on:
4
push:
5
paths:
@@ -47,6 +46,16 @@ jobs:
47
46
echo "changed=true" >> $GITHUB_OUTPUT
48
fi
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
57
+ run: yarn install
58
59
- name: Run deploy script
60
if: steps.check.outputs.changed == 'true'
61
run: |
0 commit comments