CI: move linting after installation
[poolifier.git] / .github / workflows / ci.yml
index d9233944f49ab30acae5bab420539e4f223f29b5..63f2552b4960adf615f679688de20f488ec7f63f 100644 (file)
@@ -35,12 +35,12 @@ jobs:
       - name: Install
         run: npm ci
 
-      - name: Build
-        run: npm run build --if-present
-
       - name: Lint
         run: npm run lint
 
+      - name: Build
+        run: npm run build --if-present
+
       - name: Tests
         if: "matrix.os != 'windows-latest' || matrix.node != '18.x'"
         run: npm run test