diff --git a/.github/workflows/merge-to-master.yml b/.github/workflows/merge-to-master.yml index fff31e5..bb9b630 100644 --- a/.github/workflows/merge-to-master.yml +++ b/.github/workflows/merge-to-master.yml @@ -29,6 +29,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: npm ci + - run: npm run build - run: nyc npm test && nyc report --reporter=text-lcov | ./node_modules/coveralls/bin/coveralls.js env: COVERALLS_SERVICE_NAME: GithubActions diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 3064e1c..83f765f 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -21,6 +21,8 @@ jobs: node-version: ${{ matrix.node }} - name: Install dependencies run: npm ci + - name: Build + run: npm run build - name: Run tests run: npm run test