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 3232 with :
3333 run_install : true
3434 - name : Test
35- run : pnpm turbo test --ui stream
35+ run : pnpm test:ci
Original file line number Diff line number Diff line change 2121 run : pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
2222 env :
2323 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 77 "pnpm" : " ^9.12.3"
88 },
99 "scripts" : {
10+ "build:ci" : " turbo build --filter=!./apps/api-reference --filter=!./apps/insights --filter=!./apps/staking" ,
1011 "example:hermes-client" : " pnpm i && turbo example --filter @pythnetwork/hermes-client --ui stream" ,
1112 "fix" : " pnpm i && turbo fix" ,
13+ "publish" : " lerna publish from-package --no-private --no-git-tag-version --yes" ,
1214 "start:dev" : " pnpm i && turbo start:dev" ,
1315 "start:prod" : " pnpm i && turbo start:prod" ,
14- "test" : " pnpm i && turbo test"
16+ "test" : " pnpm i && turbo test" ,
17+ "test:ci" : " turbo test"
1518 },
1619 "devDependencies" : {
1720 "lerna" : " ^8.1.8" ,
Original file line number Diff line number Diff line change 44 "private" : true ,
55 "scripts" : {
66 "start" : " blueprint run" ,
7- "build" : " echo Pyth | blueprint build" ,
7+ "build:blueprint " : " echo Pyth | blueprint build" ,
88 "test:unit" : " jest --verbose"
99 },
1010 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments