[#231] Support ChildTrace #728
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: | |
- 16 | |
- 18 | |
- 20 | |
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 | |
# Required for generating html artifact, can be skipped if not generating html artifact | |
# - name: Report coverage | |
# uses: hrishikesh-kadam/setup-lcov@v1 | |
# - name: Upload coverage report | |
# uses: kefasjw/lcov-pull-request-report@v1 | |
# with: | |
# # Lcov file location. For example, coverage/lcov.info | |
# lcov-file: coverage/lcov.info | |
# # Github token required for getting list of changed files and posting comments | |
# github-token: ${{ secrets.GITHUB_TOKEN }} | |
# ... 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@v4 | |
# with: | |
# coverage-files: coverage/lcov.info | |
# github-token: ${{ secrets.ACTIONS_TOKEN }} | |
# update-comment: true |