From a025f91151f7d1475c41bb0097428c790aa8790e Mon Sep 17 00:00:00 2001
From: Kir_Antipov <kp.antipov@gmail.com>
Date: Fri, 19 May 2023 22:11:43 +0300
Subject: [PATCH] Build should occur before the tests

---
 .github/workflows/ci.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 63bda3e..100fa80 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -15,10 +15,10 @@ jobs:
     - name: Set up node modules
       run: npm ci
 
+    - name: Build artifacts
+      run: npm run build
+
     - name: Execute tests
       run: npm run test
       env:
         CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
-
-    - name: Build artifacts
-      run: npm run build
\ No newline at end of file