Repository navigation
Revise project instructions to focus on decision support tool develop… #2
This file contains hidden or 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 the JavaScript code style | |
| on: | |
| pull_request: | |
| branches: [ 'main' ] | |
| push: | |
| branches: [ 'main' ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Set up Node.js 24.x | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: 24.x | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm install --only=dev | |
| - name: Run eslint | |
| run: | | |
| npx eslint --color . |