Skip to content

[DT-1250][risk=no] Check for lint in the files that have changed between this PR and the destination branch. #3

[DT-1250][risk=no] Check for lint in the files that have changed between this PR and the destination branch.

[DT-1250][risk=no] Check for lint in the files that have changed between this PR and the destination branch. #3

Workflow file for this run

on: [pull_request]
name: changed files lint
jobs:
scan:
name: npm lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
fetch-tags: true
- uses: actions/setup-node@v4
with:
node-version: '22.11.0'
- name: install dependencies
run: npm ci
- name: npm lint
run: npx eslint $(git diff ${{ github.event.pull_request.base.ref }} --name-only | xargs)