From 6c8cafc32d115cf6adca08f90b16f5197e05a59a Mon Sep 17 00:00:00 2001 From: Kobi Carmeli Date: Thu, 30 Dec 2021 16:33:53 +0200 Subject: [PATCH] final --- .github/workflows/main.yml | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) 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 }}