Revert "CI: move linting after installation"
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 15 Oct 2022 19:17:00 +0000 (21:17 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 15 Oct 2022 19:17:00 +0000 (21:17 +0200)
This reverts commit a34ce9a052739a56d764ba1aa3ede8d19aded4e3.

.github/workflows/ci.yml
.github/workflows/npmpublish.yml

index 63f2552b4960adf615f679688de20f488ec7f63f..d9233944f49ab30acae5bab420539e4f223f29b5 100644 (file)
@@ -35,12 +35,12 @@ jobs:
       - name: Install
         run: npm ci
 
-      - name: Lint
-        run: npm run lint
-
       - name: Build
         run: npm run build --if-present
 
+      - name: Lint
+        run: npm run lint
+
       - name: Tests
         if: "matrix.os != 'windows-latest' || matrix.node != '18.x'"
         run: npm run test
index e05691eb616bac4c4d9d60146ffb974c03da7e33..6b1a3731c6e8678da4fb2320daf009eb9055ad87 100644 (file)
@@ -20,14 +20,14 @@ jobs:
       - name: Install
         run: npm ci
 
-      - name: Lint
-        run: npm run lint
-
       - name: Tests & Coverage
         run: |
           npm run test
           npm run coverage
 
+      - name: Lint
+        run: npm run lint
+
       - name: Production Build
         run: npm run build:prod