Files
shields/.github/workflows/test-lint.yml
chris48s 01de8910cd deploy on node 20 (#9799)
* deploy on node 20

* use appropriate npm versions for each node version
2023-12-30 19:03:34 +00:00

29 lines
551 B
YAML

name: Lint
on:
pull_request:
types: [opened, reopened, synchronize]
push:
branches-ignore:
- 'gh-pages'
- 'dependabot/**'
jobs:
test-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
with:
node-version: 20
- name: ESLint
if: always()
run: npm run lint
- name: 'Prettier check (quick fix: `npm run prettier`)'
if: always()
run: npm run prettier:check