mirror of
https://github.com/WeeJeWel/wg-easy.git
synced 2024-07-07 22:38:25 +08:00
24 lines
336 B
YAML
24 lines
336 B
YAML
|
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: |
|
||
|
cd src
|
||
|
npm ci
|
||
|
npm run lint
|