Release v0.8.6 #615
Workflow file for this run
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
# This is a basic workflow to help you get started with Actions | |
name: CI | |
# Controls when the action will run. | |
on: [push, pull_request] | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
test: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node_version: | |
- 14 | |
- 16 | |
- 18 | |
name: Node ${{ matrix.node_version }} on ubuntu-latest | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v3 | |
- name: setup node environment | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node_version }} | |
- run: npm install | |
- run: npm test | |
# - name: Lint | |
# run: npm run lint | |
# - uses: jwgmeligmeyling/checkstyle-github-action@master | |
# with: | |
# path: '**/checkstyle-result.xml' | |
# token: ${{ secrets.UPLOAD_ARTIFACTS_GITHUB_TOKEN }} | |
- name: Coverage | |
run: npm run coverage | |
- name: Setup LCOV | |
uses: hrishikesh-kadam/setup-lcov@v1 | |
- name: Report coverage | |
uses: zgosalvez/github-actions-report-lcov@v3 | |
with: | |
coverage-files: coverage/lcov.info | |
artifact-name: code-coverage-report | |
github-token: ${{ secrets.UPLOAD_ARTIFACTS_GITHUB_TOKEN }} | |
update-comment: true |