Skip to content

Commit 2be8261

Browse files
authored
Build on every PR (#26)
1 parent 5c5ef18 commit 2be8261

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name: Build artifacts
33

44
on:
5+
pull_request:
56
push:
67
branches: [main]
78

@@ -46,16 +47,16 @@ jobs:
4647
- name: Build
4748
run: pnpm -r run build
4849

49-
- name: Upload luogu-discussion-archive
50-
uses: actions/upload-artifact@v3
51-
with:
52-
name: luogu-discussion-archive
53-
path: packages/archive/dist/
54-
55-
- name: Upload luogu-discussion-viewer
56-
uses: actions/upload-artifact@v3
57-
with:
58-
name: luogu-discussion-viewer
59-
path: |
60-
packages/viewer/.next/
61-
!packages/viewer/.next/cache/
50+
# - name: Upload luogu-discussion-archive
51+
# uses: actions/upload-artifact@v3
52+
# with:
53+
# name: luogu-discussion-archive
54+
# path: packages/archive/dist/
55+
56+
# - name: Upload luogu-discussion-viewer
57+
# uses: actions/upload-artifact@v3
58+
# with:
59+
# name: luogu-discussion-viewer
60+
# path: |
61+
# packages/viewer/.next/
62+
# !packages/viewer/.next/cache/

0 commit comments

Comments
 (0)