File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change 8
8
branches :
9
9
- main
10
10
11
+ permissions : {}
12
+
11
13
jobs :
12
14
ci :
13
15
runs-on : ubuntu-latest
14
- permissions :
15
- id-token : write
16
16
steps :
17
17
- uses : actions/checkout@v3
18
18
- run : corepack enable
@@ -45,10 +45,28 @@ jobs:
45
45
46
46
- run : pnpm dev:prepare
47
47
- run : pnpm lint
48
- - run : pnpm test
48
+ - run : pnpm test -- --coverage
49
49
- run : pnpm build
50
50
- run : pnpm test:types
51
51
- run : pnpm dev:build
52
+ - uses : codecov/codecov-action@v3
53
+
54
+ release :
55
+ runs-on : ubuntu-latest
56
+ needs : ci
57
+ if : github.event_name == 'push' && !contains(github.event.head_commit.message, '[skip-release]')
58
+ permissions :
59
+ id-token : write
60
+ steps :
61
+ - uses : actions/checkout@v3
62
+ - run : corepack enable
63
+ - uses : actions/setup-node@v3
64
+ with :
65
+ node-version : 20
66
+ cache : " pnpm"
67
+ - run : pnpm install
68
+ - run : pnpm dev:prepare
69
+ - run : pnpm build
52
70
- name : Release Edge
53
71
if : |
54
72
github.event_name == 'push' &&
You can’t perform that action at this time.
0 commit comments