From: Jérôme Benoit Date: Fri, 19 Feb 2021 17:07:07 +0000 (+0100) Subject: Properly name and separate each steps at publication. (#199) X-Git-Tag: v2.0.0-beta.6~1 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=e0d233a8e0c7e22275b29c36367a3b6cbc2e39d4;p=poolifier.git Properly name and separate each steps at publication. (#199) --- diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 73dc61c1..048d952e 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -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