Skip to content

Merge pull request #157 from DependencyTrack/port-isLatest-project-flag #242

Merge pull request #157 from DependencyTrack/port-isLatest-project-flag

Merge pull request #157 from DependencyTrack/port-isLatest-project-flag #242

Workflow file for this run

name: Lint
on:
push:
branches:
- 'main' # Default branch
- 'feature-**' # Feature branches
pull_request:
branches:
- 'main' # Default branch
- 'feature-**' # Feature branches
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/[email protected]
- name: Set up NodeJs
uses: actions/[email protected]
with:
node-version: '20'
cache: 'npm'
- name: Install Dependencies
run: npm install
- name: Lint Prettier
run: npm run prettier
continue-on-error: false
- name: Lint ESLint
run: npm run eslint
continue-on-error: true