svelte.sk-auth/.github/workflows/lint-on-pr.yml

24 lines
444 B
YAML
Raw Normal View History

2021-05-25 23:58:06 +02:00
name: Lint package on pull request
on:
push:
branches:
2021-05-26 00:11:40 +02:00
- main
2021-05-25 23:58:06 +02:00
pull_request:
branches:
2021-05-26 00:11:40 +02:00
- main
2021-05-25 23:58:06 +02:00
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
2021-05-26 11:47:54 +02:00
- run: yarn install
working-directory: app
- run: yarn lint
working-directory: app