Skip to content

Commit e4d4fc0

Browse files
committed
Run CI jobs in PR
1 parent 9e93bc9 commit e4d4fc0

File tree

1 file changed

+24
-21
lines changed

1 file changed

+24
-21
lines changed

.github/workflows/main.yml

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,29 @@
11
name: CI
22

33
on:
4-
push:
5-
branches:
6-
- "**"
4+
push:
5+
branches:
6+
- "**"
7+
pull_request:
8+
branches:
9+
- "**"
710

811
jobs:
9-
build:
10-
runs-on: ubuntu-latest
11-
steps:
12-
- uses: actions/checkout@v4
13-
- uses: actions/setup-node@v4
14-
with:
15-
node-version: 18
16-
cache: "npm"
17-
- name: INSTALL PACKAGES
18-
run: npm install --frozen-lockfile
19-
- name: TYPECHECK
20-
run: npm run type-check
21-
- name: LINT
22-
run: npm run lint
23-
- name: TEST
24-
run: npm run test
25-
- name: BUILD/BUNDLE
26-
run: npm run build
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: 18
19+
cache: "npm"
20+
- name: INSTALL PACKAGES
21+
run: npm install --frozen-lockfile
22+
- name: TYPECHECK
23+
run: npm run type-check
24+
- name: LINT
25+
run: npm run lint
26+
- name: TEST
27+
run: npm run test
28+
- name: BUILD/BUNDLE
29+
run: npm run build

0 commit comments

Comments
 (0)