Merge pull request #165 from seart-group/dependabot/npm_and_yarn/mast… #137
This file contains hidden or 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: 'Lint all files' | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout latest | |
| uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| cache-dependency-path: 'package-lock.json' | |
| - name: Install Dependencies | |
| run: npm ci | |
| - name: Lint source files | |
| run: npm run lint | |
| - name: Lint docker file | |
| uses: hadolint/[email protected] | |
| with: | |
| recursive: true |