Enable syntax highlighting for several useful languages #171
Workflow file for this run
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: Static Analysis | |
on: | |
pull_request: | |
paths-ignore: | |
- "README.md" | |
types: [opened, synchronize, reopened, ready_for_review] | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- "README.md" | |
jobs: | |
lint: | |
name: eslint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repo sitory | |
uses: actions/checkout@v4 | |
- name: Install Node.js, NPM and Yarn | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install development dependencies | |
run: npm install --also=dev | |
- name: Perform static analysis | |
run: npm run linter |