Skip to content

Commit 7ee7c94

Browse files
committed
refactor(ci): split lint & build steps + run on merge
1 parent e40dceb commit 7ee7c94

File tree

2 files changed

+33
-34
lines changed

2 files changed

+33
-34
lines changed

.github/workflows/pr-check.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/workflows/verify.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Verify
2+
3+
on:
4+
push:
5+
branches: [master, main]
6+
pull_request:
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
lint:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Install
19+
uses: ./.github/actions/install
20+
21+
- name: Lint
22+
run: pnpm lint
23+
build:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Checkout
27+
uses: actions/checkout@v4
28+
29+
- name: Install
30+
uses: ./.github/actions/install
31+
32+
- name: Lint
33+
run: pnpm build

0 commit comments

Comments
 (0)