Skip to content

chore: Enforce eslint and fix warnings #222

chore: Enforce eslint and fix warnings

chore: Enforce eslint and fix warnings #222

Workflow file for this run

name: CI
on: [ push, pull_request, workflow_dispatch ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
node-version: [ 20.x ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: install, lint, audit, build, test
run: |
npm i
npm run lint
npm run audit:prod
npm run build
npm test -- --code-coverage
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./coverage/lcov.info