Skip to content

refactor: split package component into multiple class #365

refactor: split package component into multiple class

refactor: split package component into multiple class #365

Workflow file for this run

name: Node.js CI
on:
push:
branches: ["master"]
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ${{matrix.os}}
strategy:
matrix:
node-version: [18.x, 20.x]
os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
steps:
- name: Harden Runner
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Run tests
run: npm run coverage
- name: Send coverage report to Codecov
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4