Merge pull request #24 from MarceloVichar/develop #23
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 | |
on: | |
push: | |
branches: [ "main", "develop" ] | |
pull_request: | |
branches: | |
- main | |
- develop | |
- feature/** | |
- hotfix/** | |
- release/** | |
- refactor/** | |
paths: | |
- '**.vue' | |
- '**.js' | |
- '**.ts' | |
- '.github/workflows/lint.yml' | |
- 'package-lock.json' | |
jobs: | |
check-eslint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run ESLint - node version ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- run: npm run lint |