Merge branch 'master' of https://github.com/chenzhiy2001/code-debug #323
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 Project | |
defaults: | |
run: | |
working-directory: code-debug | |
on: | |
push: | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
- name: Install Module Dependencies | |
run: npm clean-install --omit=optional | |
- name: Lint Project | |
run: npm run lint |