mirror of
https://github.com/WeeJeWel/wg-easy.git
synced 2024-11-18 08:29:21 +08:00
24 lines
342 B
YAML
24 lines
342 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
|