Skip to content

Commit

Permalink
final
Browse files Browse the repository at this point in the history
  • Loading branch information
kobik committed Dec 30, 2021
1 parent 796ccd7 commit 6c8cafc
Showing 1 changed file with 3 additions and 22 deletions.
25 changes: 3 additions & 22 deletions .github/workflows/main.yml
Expand Up @@ -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 }}
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6c8cafc

Please sign in to comment.