From 6879c809a6c171b80588dbffd2813fc1c2b19845 Mon Sep 17 00:00:00 2001
From: Haim Kastner <hello@haim-kastner.com>
Date: Tue, 11 Jun 2024 11:43:19 +0300
Subject: [PATCH] Update ci cd  tools

---
 .github/workflows/build.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2aed334..491017c 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -7,11 +7,11 @@ jobs:
     runs-on: ubuntu-latest
     strategy:
       matrix:
-        node-version: [16.x]
+        node-version: [20.x]
     steps:
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
     - name: Install node
-      uses: actions/setup-node@v3
+      uses: actions/setup-node@v4
       with:
         node-version: ${{ matrix.node-version }}
     - name: Bundle www # The assets build for the public CDN
@@ -22,7 +22,7 @@ jobs:
         export ON_BRANCH=${GITHUB_REF##*/}
         if [[ $ON_BRANCH == 'main' ]]; then export API_URL=$API_URL_PROD ; else export API_URL=$API_URL_DEV; fi
         node scripts/set-environment.js
-    - uses: actions/upload-artifact@v3
+    - uses: actions/upload-artifact@v4
       with:
         name: www
         path: src
@@ -31,7 +31,7 @@ jobs:
         API_URL: ''
       run: |
         node scripts/set-environment.js
-    - uses: actions/upload-artifact@v3
+    - uses: actions/upload-artifact@v4
       with:
         name: internal 
         path: src