mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-24 01:51:57 +03:00
run lint separately
This commit is contained in:
parent
aaf89ed1ca
commit
210f2d27da
23
.github/workflows/push.yaml
vendored
23
.github/workflows/push.yaml
vendored
@ -2,6 +2,29 @@ name: "Test"
|
|||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
lint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Setup node
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: 18
|
||||||
|
|
||||||
|
- name: Setup pnpm
|
||||||
|
uses: pnpm/action-setup@v2
|
||||||
|
with:
|
||||||
|
version: 7.x.x
|
||||||
|
run_install: |
|
||||||
|
args: ["--frozen-lockfile"]
|
||||||
|
|
||||||
|
- name: Lint and check frontend
|
||||||
|
run: |
|
||||||
|
pnpm lint
|
||||||
|
pnpm check
|
||||||
|
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
Reference in New Issue
Block a user