Skip to content

feat: add max length custom matcher #41

feat: add max length custom matcher

feat: add max length custom matcher #41

Workflow file for this run

name: CI
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
workflow_dispatch:
jobs:
package-lock-lint:
name: package-lock lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 22
- name: lint package-lock
run: npx lockfile-lint --path package-lock.json --allowed-hosts npm --validate-https
test:
strategy:
matrix:
platform: [ubuntu-latest]
node: ['18', '20', '22']
needs: [package-lock-lint]
name: test (node V${{ matrix.node }})
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Install Dependencies
run: npm ci
- name: Run Tests & Collect Coverage
run: npm run test:coveralls
- name: Coveralls
uses: coverallsapp/github-action@master
if: matrix.node == '22'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}