File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
name : CI build
2
2
on :
3
3
push :
4
- branches : main
4
+ branches : [ main]
5
5
pull_request :
6
- branches : main
6
+ branches : [ main]
7
7
8
8
jobs :
9
9
build :
@@ -14,11 +14,17 @@ jobs:
14
14
with :
15
15
node-version : latest
16
16
- name : Build
17
- run : pnpm build-only
18
- # Separate build and type check,
17
+ run : pnpm build-only
18
+ # Separate build and type check,
19
19
# because *.d.ts files aren't generated before build
20
20
- name : Type Check
21
21
run : pnpm type-check
22
+ - name : Archive build artifacts
23
+ uses : actions/upload-artifact@v4
24
+ with :
25
+ name : build
26
+ path : |
27
+ ./dist/
22
28
- name : Compress action step
23
29
24
30
id : compress
28
34
files : |
29
35
./dist
30
36
outPath : dist.tar.gz
31
- - name : Archive build artifacts
32
- uses : actions/upload-artifact@v4
33
- with :
34
- name : build
35
- path : |
36
- ./dist.tar.gz
37
37
- name : Release
38
38
uses : softprops/action-gh-release@v2
39
39
if : startsWith(github.ref, 'refs/tags/')
You can’t perform that action at this time.
0 commit comments