Merge pull request #111 from discue/dependabot/npm_and_yarn/nodemon-3… #474
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: lints | |
on: | |
pull_request: | |
branches-ignore: | |
- dependabot/** | |
push: | |
branches-ignore: | |
- deploy | |
tags-ignore: | |
- "*" | |
jobs: | |
# Set the job key. The key is displayed as the job name | |
# when a job name is not provided | |
js: | |
timeout-minutes: 10 | |
# Name the Job | |
name: javascript | |
# Set the type of machine to run on | |
runs-on: ubuntu-latest | |
steps: | |
# Checks out a copy of your repository on the ubuntu-latest machine | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: Install modules | |
run: npm ci | |
- name: Run ESLint | |
run: npm run lint |