Skip to content

[#140] Support AsyncLocalStorage [email protected] #581

[#140] Support AsyncLocalStorage [email protected]

[#140] Support AsyncLocalStorage [email protected] #581

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_target]
permissions:
checks: write # needed for coverage
# 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@v2
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'
- 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