Skip to content

Commit 210480c

Browse files
authored
Merge pull request #90 from dewanakl/improve-ui
fix: cicd node js version
2 parents 7929c9e + d912e37 commit 210480c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/cicd.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Node.js
1919
uses: actions/setup-node@v4
2020
with:
21-
node-version: "20"
21+
node-version: "22"
2222

2323
- name: Install npm
2424
run: npm install -g npm
@@ -51,7 +51,7 @@ jobs:
5151
- name: Set up Node.js
5252
uses: actions/setup-node@v4
5353
with:
54-
node-version: "20"
54+
node-version: "22"
5555

5656
- name: Install npm
5757
run: npm install -g npm
@@ -64,7 +64,7 @@ jobs:
6464
fi
6565
6666
- name: Install Netlify CLI
67-
run: npm install && npm install netlify-cli -g
67+
run: npm install && npm install -g netlify-cli
6868

6969
- name: Run Build
7070
run: npm run build
@@ -83,4 +83,4 @@ jobs:
8383
env:
8484
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
8585
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
86-
run: sudo npx netlify-cli deploy --prod --telemetry-disable --dir=. --auth=$NETLIFY_AUTH_TOKEN --site=$NETLIFY_SITE_ID
86+
run: netlify deploy --prod --telemetry-disable --dir=. --auth=$NETLIFY_AUTH_TOKEN --site=$NETLIFY_SITE_ID

0 commit comments

Comments
 (0)