From d7746fda2d9b47b79898ab9b2969308d47b74696 Mon Sep 17 00:00:00 2001 From: nelsonic Date: Thu, 22 Jun 2023 03:00:09 +0100 Subject: [PATCH] rename workflow.yml to ci.yml for consistency with our other repos #288 --- .github/workflows/{workflow.yml => ci.yml} | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) rename .github/workflows/{workflow.yml => ci.yml} (67%) diff --git a/.github/workflows/workflow.yml b/.github/workflows/ci.yml similarity index 67% rename from .github/workflows/workflow.yml rename to .github/workflows/ci.yml index 246b16c..9805043 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,10 @@ -name: Node CI +name: Node.js CI -on: [push, pull_request] +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] jobs: test: @@ -17,3 +21,5 @@ jobs: - run: npm i - run: npm run lint - run: npm test + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v1 \ No newline at end of file