Create pr.yml
This commit is contained in:
parent
bd1066e13c
commit
3e540fdc16
1 changed files with 18 additions and 0 deletions
18
.github/workflows/pr.yml
vendored
Normal file
18
.github/workflows/pr.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
name: QA
|
||||||
|
on: [pull_request]
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: pnpm/action-setup@v2.2.1
|
||||||
|
with:
|
||||||
|
version: 6.19.1
|
||||||
|
- uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: "18"
|
||||||
|
cache: "pnpm"
|
||||||
|
- name: Install dependencies
|
||||||
|
run: pnpm install
|
||||||
|
- name: Check linters
|
||||||
|
run: pnpm lint
|
Loading…
Reference in a new issue