mirror of
https://github.com/Dan6erbond/sk-auth.git
synced 2024-11-20 19:07:20 +01:00
24 lines
444 B
YAML
24 lines
444 B
YAML
name: Lint package on pull request
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 14
|
|
- run: yarn install
|
|
- run: yarn lint
|
|
- run: yarn install
|
|
working-directory: app
|
|
- run: yarn lint
|
|
working-directory: app
|