Skip to content

Commit

Permalink
update github workflow to use node version 20
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafakamal22 committed Sep 17, 2024
1 parent 3f709b5 commit b170f22
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
- name: 🚚 Get latest code
uses: actions/checkout@v4

# Step 2: Install Node.js 16
- name: Use Node.js 16
uses: actions/setup-node@v2
# Step 2: Install Node.js 20 (updated to the latest version)
- name: Use Node.js 20
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: "20"

# Step 3: Sync files to the server via FTP (Upload all files to /home/tbtouris/api)
- name: 📂 Sync files
Expand Down

0 comments on commit b170f22

Please sign in to comment.