mirror of
https://github.com/Dan6erbond/sk-auth.git
synced 2025-01-02 00:05:56 +01:00
👷 Add Lint on PR Workflow
This commit is contained in:
parent
9a5cd3dc8b
commit
ae203f06db
19
.github/workflows/lint-on-pr.yml
vendored
Normal file
19
.github/workflows/lint-on-pr.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user