Skip to content

[#184] v0.9.0 Release #515

[#184] v0.9.0 Release

[#184] v0.9.0 Release #515

Workflow file for this run

# 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:
- 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
# - name: Upload checkstyle report
# uses: jwgmeligmeyling/checkstyle-github-action@master
# with:
# path: '**/checkstyle-result.xml'
- name: Coverage
run: npm run coverage
# ... Generate LCOV files or download it from a different job
- 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
github-token: ${{ secrets.ACTIONS_TOKEN }}
update-comment: true