From 8a8a68b68ba3bfac35174bd01cda36574839d925 Mon Sep 17 00:00:00 2001
From: Amos Laboso <amos.laboso@gmail.com>
Date: Wed, 31 Jan 2024 14:33:59 +0300
Subject: [PATCH] Update node.js.yml

yarn install ,
yarn build
---
 .github/workflows/node.js.yml | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml
index 401b350..bcd5056 100644
--- a/.github/workflows/node.js.yml
+++ b/.github/workflows/node.js.yml
@@ -21,8 +21,13 @@ jobs:
       with:
         node-version: '18'
         cache: 'npm'
-    - run: npm ci
-    - run: npm run build --if-present
+
+    - name: Install dependencies
+      run: yarn install
+
+    - name: Build
+      run: yarn build
+        
     - name: copy file via ssh password
       uses: appleboy/scp-action@v0.1.7
       with: