ops(dashboard-v2): setup github action on pull requests

This commit is contained in:
Michał Leszczyk 2022-02-17 12:18:53 +01:00
parent b539a41397
commit 2f428b8e04
No known key found for this signature in database
GPG Key ID: FA123CA8BAA2FBF4
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
name: Lint - packages/dashboard-v2
on:
pull_request:
paths:
- packages/dashboard-v2/**
defaults:
run:
working-directory: packages/dashboard-v2
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16.x
- run: yarn
- run: yarn prettier --check
- run: yarn lint