diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4a51e34..3ea351e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -2,13 +2,12 @@ name: Tests on: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] jobs: tests: - runs-on: ubuntu-latest strategy: @@ -23,9 +22,9 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm ci - run: npm test - - run: npm run-script build + - run: npm run-script buildsummary action - run: | - echo '# Coverage' >> $GITHUB_STEP_SUMMARY - echo '```' >> $GITHUB_STEP_SUMMARY - nyc report >> $GITHUB_STEP_SUMMARY - echo '```' >> $GITHUB_STEP_SUMMARY \ No newline at end of file + echo '# Coverage' >> $GITHUB_STEP_SUMMARY + echo '```' >> $GITHUB_STEP_SUMMARY + nyc report >> $GITHUB_STEP_SUMMARY + echo '```' >> $GITHUB_STEP_SUMMARY