Skip to content

client: Add more unit tests for setHead function #7643

client: Add more unit tests for setHead function

client: Add more unit tests for setHead function #7643

Workflow file for this run

name: lockfile-lint
on:
pull_request:
types: [opened, reopened, synchronize]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
root:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
src:
- 'package-lock.json'
- name: Use Node.js 18
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- if: steps.changes.outputs.src == 'true'
run: npm install lockfile-lint-api && node scripts/lockfile-lint.js