GitHub action: move linter step before the build
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 21 Aug 2021 18:54:03 +0000 (20:54 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 21 Aug 2021 18:54:03 +0000 (20:54 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.github/workflows/ci.yml

index 6a98db2ad4beaec08dde94d1b47148badad7c634..e4d010d96454826abb37a8e9732825921e71c345 100644 (file)
@@ -23,11 +23,11 @@ jobs:
         node-version: ${{ matrix.node-version }}
     - name: npm install
       run: npm ci
-    - name: npm run build
-      run: npm run build
     - name: npm run lint
       run: npm run lint
       continue-on-error: true
+    - name: npm run build
+      run: npm run build
     - name: npm test
       run: npm test
     - name: npm run coverage