From e79d94955f32e295bad553987eac7877e738fc3b Mon Sep 17 00:00:00 2001
From: DoneDeal0 <ap.lanoe@outlook.com>
Date: Sun, 21 Jan 2024 11:20:52 +0100
Subject: [PATCH] use npm for ci

---
 .github/workflows/superdiff.yml | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

diff --git a/.github/workflows/superdiff.yml b/.github/workflows/superdiff.yml
index 8742c4b..9eee2c5 100644
--- a/.github/workflows/superdiff.yml
+++ b/.github/workflows/superdiff.yml
@@ -12,7 +12,7 @@ jobs:
 
     strategy:
       matrix:
-        node-version: [16.x, 18.x]
+        node-version: [18.x]
 
     steps:
       - uses: actions/checkout@v3
@@ -20,16 +20,10 @@ jobs:
         uses: actions/setup-node@v3
         with:
           node-version: ${{ matrix.node-version }}
-          cache: "yarn"
+          cache: "npm"
       - name: Install dependencies
-        uses: borales/actions-yarn@v4
-        with:
-          cmd: install
+        run: npm install
       - name: Build app
-        uses: borales/actions-yarn@v4
-        with:
-          cmd: build
+        run: npm run build
       - name: Test app
-        uses: borales/actions-yarn@v4
-        with:
-          cmd: test
+        run: npm test