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:
node-version: '14'
- run: |
2021-05-23 23:06:29 +08:00
cd src
npm ci
npm run lint