Skip to content

Commit e95b96e

Browse files
authored
chore(workflow): run build when pushing to main (#78)
1 parent 4be2f87 commit e95b96e

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

.github/workflows/check.yaml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,14 @@ name: Daily CI
33
on:
44
schedule:
55
- cron: '0 1 * * *'
6+
67
workflow_dispatch:
8+
79
pull_request:
10+
11+
push:
12+
branches: [main]
13+
814
jobs:
915
daily-build:
1016
runs-on: ubuntu-latest
@@ -25,6 +31,18 @@ jobs:
2531
- name: Install dependencies
2632
run: pnpm install
2733

28-
- name: Build Example
34+
- name: Build Rspack
35+
run: |
36+
pnpm build:rspack
37+
38+
- name: Build Rsbuild
39+
run: |
40+
pnpm build:rsbuild
41+
42+
- name: Build Rspress
43+
run: |
44+
pnpm build:pspress
45+
46+
- name: Build Rsdoctor
2947
run: |
30-
pnpm build:example
48+
pnpm build:rsdoctor

0 commit comments

Comments
 (0)