wg-easy/.github/workflows/lint.yml

24 lines
342 B
YAML
Raw Normal View History

2021-05-23 23:05:24 +08:00
name: Lint
on:
push:
branches:
- master
- production
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
2023-12-18 05:47:14 +08:00
node-version: '20'
2021-05-23 23:05:24 +08:00
- run: |
2021-05-23 23:06:29 +08:00
cd src
npm ci
npm run lint