Skip to content

npm-lint

npm-lint #130

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: "npm"
- run: npm version
- run: npm ci
- run: npm run lint
- run: git diff --exit-code
- run: npm run coverage
- uses: codecov/codecov-action@v4
with:
files: ./coverage/clover.xml
token: ${{ secrets.CODECOV_TOKEN }}