From eb20fa8725f8b69025e60336b5559d384328e34e Mon Sep 17 00:00:00 2001 From: Jonas Wagner Date: Sun, 10 Jul 2022 15:43:16 +0200 Subject: [PATCH] struggling with yaml --- .github/workflows/tests.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) 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