chore: switch to eslint v9, eslint-config-eslint v10 (#561) #1548
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.org | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
ci: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "lts/*" | |
cache: "npm" | |
- name: Install website dependencies | |
run: npm ci | |
- name: Install playground dependencies | |
run: npm run install:playground | |
- name: Lint Files | |
run: npm run lint | |
- name: Run build | |
run: npm run build | |
- name: Validate Internal Links | |
run: npm run lint:links |