Update pkgs & README #20
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: ESLint | |
on: | |
pull_request: | |
push: | |
jobs: | |
lint: | |
name: ESLint | |
runs-on: ubuntu-latest | |
steps: | |
- name: "☁️ checkout repository" | |
uses: actions/checkout@v4 | |
- name: "🔧 setup node" | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 21 | |
cache: "npm" | |
- name: "🛸 install eslint plugins" | |
run: npm i --omit=optional --include=dev --no-fund --progress=false | |
- name: "🔍 lint code" | |
run: npm run lint |