Merge pull request #59 from seart-group/dependabot/npm_and_yarn/maste… #54
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: '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/hadolint-action@v3.1.0 | |
with: | |
recursive: true |