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

21 lines
429 B
YAML
Raw Permalink 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 --frozen-lockfile && yarn lint
- run: yarn install --frozen-lockfile && yarn lint
2021-05-26 11:47:54 +02:00
working-directory: app