Properly name and separate each steps at publication. (#199)
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 19 Feb 2021 17:07:07 +0000 (18:07 +0100)
committerGitHub <noreply@github.com>
Fri, 19 Feb 2021 17:07:07 +0000 (18:07 +0100)
.github/workflows/npmpublish.yml

index 73dc61c1800d29bb042329d033b906a09f67cd22..048d952e4e117319fde4b5b6fb183ee4c3c7973e 100644 (file)
@@ -16,10 +16,22 @@ jobs:
         uses: actions/setup-node@v2
         with:
           node-version: 12
-      - run: npm ci
-      - run: npm run test:prod
-      - run: npm run lint
-      - run: npm run coverage
+
+      - name: Install
+        run: npm ci
+
+      - name: Production Build
+        run: npm run build:prod
+
+      - name: Lint
+        run: npm run lint
+
+      - name: Production Tests & Coverage
+        run: |
+          npm run test:prod
+          npm run coverage
+        env:
+          CI: true
 
   publish-npm:
     needs: build