diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index a44b3af..6d5af68 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -2,9 +2,8 @@ name: Code Coverage on: push: - branches: [ "master" ] + branches: ["master"] pull_request: - branches: [ "master" ] jobs: coverage: @@ -13,24 +12,24 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout repository - uses: actions/checkout@v2 + - name: Checkout repository + uses: actions/checkout@v2 - - name: Setup Node.js - uses: actions/setup-node@v2 - with: - node-version: 14 + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: 14 - - name: Installing dependencies - run: yarn install + - name: Installing dependencies + run: npm install - - name: Lint - run: yarn run lint + - name: Lint + run: npm run lint - - name: Running test - run: yarn run test + - name: Running test + run: npm run test - - name: Upload to Codecov - uses: codecov/codecov-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file + - name: Upload to Codecov + uses: codecov/codecov-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }}