👷 Add Lint on PR Workflow

This commit is contained in:
Dan6erbond 2021-05-25 23:58:06 +02:00 committed by GitHub
parent 9a5cd3dc8b
commit ae203f06db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

19
.github/workflows/lint-on-pr.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Lint package on pull request
on:
push:
branches:
- master
pull_request:
branches:
- master
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