VIDCS-3252: Resolve GitHub Mend warnings for VERA #39
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: check-lint-issues | |
on: [pull_request, workflow_dispatch] | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
run: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 22 | |
cache: npm | |
- name: Install Dependencies | |
run: | | |
node -v | |
npm -v | |
npm install --global yarn | |
yarn | |
- name: Check for lint issues | |
run: | | |
yarn lint && yarn prettier . --check | |
- name: Check for TS errors | |
run: | | |
yarn ts-check | |
- name: Check that new files are camelCase | |
run: | | |
yarn lint:filenames | |
- name: Run license check | |
run: | | |
npx license-checker --json > scripts/allLicenseResults.json | |
node scripts/licenseCheck.js |