22 lines
518 B
YAML
22 lines
518 B
YAML
name: lint_test_format
|
|
on:
|
|
workflow_dispatch:
|
|
jobs:
|
|
lint:
|
|
name: lint
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node-version: [14.x, 16.x, 18.x]
|
|
steps:
|
|
- name: Check out repository
|
|
uses: actions/checkout@v3
|
|
- name: Setup node ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
- name: Run lint-fix
|
|
run: npm run lint-fix
|