Files
xiao/.github/workflows/test.yml
T
Dragon Fire f11e16a3ee Update test
2024-03-24 13:32:34 -04:00

27 lines
576 B
YAML

name: Lint
on: [push, pull_request]
jobs:
lint:
name: ESLint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Node v21
uses: actions/setup-node@v1
with:
node-version: 21
- name: Install NPM
run: npm install -g npm
- name: Install ESLint
run: npm install -g eslint
- name: Install ESLint Configs and Plugins
run: npm install eslint-config-amber eslint-plugin-json
- name: Run ESLint
run: npm test