File tree Expand file tree Collapse file tree 5 files changed +43
-5
lines changed
target_chains/ton/contracts Expand file tree Collapse file tree 5 files changed +43
-5
lines changed Original file line number Diff line number Diff line change
1
+ name : Turbo build
2
+ on :
3
+ pull_request :
4
+ paths :
5
+ - " **.tsx?"
6
+ - " **.jsx?"
7
+ - " **.json"
8
+ - " **.sol"
9
+ - " **/package.json"
10
+ - " **/package-lock.json"
11
+ - " **/tsconfig.json"
12
+ push :
13
+ branches : [main]
14
+ paths :
15
+ - " **.tsx?"
16
+ - " **.jsx?"
17
+ - " **.json"
18
+ - " **.sol"
19
+ - " **/package.json"
20
+ - " **/package-lock.json"
21
+ - " **/tsconfig.json"
22
+ jobs :
23
+ build :
24
+ runs-on : ubuntu-latest
25
+ steps :
26
+ - uses : actions/checkout@v4
27
+ - uses : actions/setup-node@v4
28
+ with :
29
+ node-version-file : " package.json"
30
+ - uses : pnpm/action-setup@v4
31
+ name : Install pnpm
32
+ with :
33
+ run_install : true
34
+ - name : Build
35
+ run : pnpm build:ci
Original file line number Diff line number Diff line change 32
32
with :
33
33
run_install : true
34
34
- name : Test
35
- run : pnpm turbo test --ui stream
35
+ run : pnpm test:ci
Original file line number Diff line number Diff line change 21
21
run : pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
22
22
env :
23
23
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
24
- - run : pnpm turbo build
25
- - run : pnpm exec lerna publish from-package --no-private --no-git-tag-version --yes
24
+ - run : pnpm build:ci
25
+ - run : pnpm publish
Original file line number Diff line number Diff line change 7
7
"pnpm" : " ^9.12.3"
8
8
},
9
9
"scripts" : {
10
+ "build:ci" : " turbo build --filter=!./apps/api-reference --filter=!./apps/insights --filter=!./apps/staking" ,
10
11
"example:hermes-client" : " pnpm i && turbo example --filter @pythnetwork/hermes-client --ui stream" ,
11
12
"fix" : " pnpm i && turbo fix" ,
13
+ "publish" : " lerna publish from-package --no-private --no-git-tag-version --yes" ,
12
14
"start:dev" : " pnpm i && turbo start:dev" ,
13
15
"start:prod" : " pnpm i && turbo start:prod" ,
14
- "test" : " pnpm i && turbo test"
16
+ "test" : " pnpm i && turbo test" ,
17
+ "test:ci" : " turbo test"
15
18
},
16
19
"devDependencies" : {
17
20
"lerna" : " ^8.1.8" ,
Original file line number Diff line number Diff line change 4
4
"private" : true ,
5
5
"scripts" : {
6
6
"start" : " blueprint run" ,
7
- "build" : " echo Pyth | blueprint build" ,
7
+ "build:blueprint " : " echo Pyth | blueprint build" ,
8
8
"test:unit" : " jest --verbose"
9
9
},
10
10
"devDependencies" : {
You can’t perform that action at this time.
0 commit comments