File tree Expand file tree Collapse file tree 2 files changed +24
-18
lines changed Expand file tree Collapse file tree 2 files changed +24
-18
lines changed Original file line number Diff line number Diff line change 1
1
name : Build
2
2
3
3
on :
4
- push :
5
- branches :
6
- - main
7
- pull_request :
8
- branches :
9
- - main
4
+ - push
10
5
11
6
jobs :
12
- build :
7
+ cache-and-install :
13
8
runs-on : ubuntu-latest
14
9
15
- strategy :
16
- matrix :
17
- node-version : [22.x]
18
-
19
10
steps :
20
- - uses : actions/checkout@v4
21
- - name : Use Node.js ${{ matrix.node-version }}
22
- uses : actions/setup-node@v4
23
- with :
24
- node-version : ${{ matrix.node-version }}
25
- cache : ' pnpm'
26
- - run : pnpm build
11
+ - name : Checkout
12
+ uses : actions/checkout@v4
13
+
14
+ - uses : pnpm/action-setup@v4
15
+ name : Install pnpm
16
+ with :
17
+ version : 10
18
+ run_install : false
19
+
20
+ - name : Install Node.js
21
+ uses : actions/setup-node@v4
22
+ with :
23
+ node-version : 22
24
+ cache : ' pnpm'
25
+
26
+ - name : Install dependencies
27
+ run : pnpm install
28
+
29
+ - name : Build cli
30
+ run : pnpm build
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ export const sentry = Sentry.init({
6
6
dsn :
'https://[email protected] /4' ,
7
7
release : packageJson . version ,
8
8
9
+ tracesSampleRate : 1.0 ,
10
+
9
11
// Make sure no events will be sent to sentry
10
12
// if telemetry is disabled
11
13
beforeSend : ( event ) => {
You can’t perform that action at this time.
0 commit comments