mirror of
https://github.com/WeeJeWel/wg-easy.git
synced 2024-11-16 23:49:24 +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
|