diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 69a96e7..399766f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,30 +33,11 @@ jobs: run: npm ci - name: unit tests run: npm run test:coverage - - name: Coveralls - if: ${{ matrix.node == env.LATEST_NODE }} - uses: coverallsapp/github-action@master - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - - code-quality: - needs: test - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - with: - node-version: ${{ env.LATEST_NODE }} - - name: install dependencies - run: npm ci - name: lint + if: ${{ matrix.node == env.LATEST_NODE }} run: npm run lint - - name: Download code coverage results - uses: actions/download-artifact@v2 - with: - name: code-coverage-report - path: coverage - name: Coveralls + if: ${{ matrix.node == env.LATEST_NODE }} uses: coverallsapp/github-action@master with: - github-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + github-token: ${{ secrets.GITHUB_TOKEN }}