ci(ci): call lint script (#170) #93
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: coverage | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: coverage | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Setup Node ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
always-auth: false | |
node-version: ${{ matrix.node-version }} | |
- name: Run npm install | |
run: npm install | |
- name: Run Tests | |
run: npm run test:coverage | |
- name: Generate LCOV | |
run: npm run coveralls | |
- name: Update Coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
if: success() |