File tree Expand file tree Collapse file tree 8 files changed +750
-1685
lines changed
Expand file tree Collapse file tree 8 files changed +750
-1685
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,16 @@ jobs:
1212 environment : dev
1313 steps :
1414 - uses : actions/checkout@v3
15+
16+ - name : Enable Corepack
17+ run : corepack enable
18+
1519 - name : Use Node.js 18
1620 uses : actions/setup-node@v3
1721 with :
1822 node-version : ' 18.x'
1923 always-auth : true
20- - name : Install Yarn
21- run : npm install -g yarn
24+
2225 - name : Bump version
2326 id : version
2427 run : |
@@ -38,19 +41,24 @@ jobs:
3841
3942 NEW_VERSION="${NEW_BASE}-dev.${TIMESTAMP}.${COMMIT_SHA}"
4043 echo "new_version=$NEW_VERSION" >> $GITHUB_OUTPUT
44+
4145 - name : Update package.json version
4246 run : |
4347 jq ".version = \"${{ steps.version.outputs.new_version }}\"" package.json > package.tmp
4448 mv package.tmp package.json
49+
4550 - name : Install dependencies
46- run : yarn
51+ run : yarn install
52+
4753 - name : Build
48- run : yarn build
54+ run : yarn run build
55+
4956 - name : Setup .yarnrc.yml
5057 run : |
5158 yarn config set npmAuthToken $NPM_AUTH_TOKEN
5259 yarn config set npmAlwaysAuth true
5360 env :
5461 NPM_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
62+
5563 - name : Publish
5664 run : yarn npm publish --access public --tag dev
Original file line number Diff line number Diff line change @@ -10,23 +10,29 @@ jobs:
1010 environment : prod
1111 steps :
1212 - uses : actions/checkout@v3
13+
14+ - name : Enable Corepack
15+ run : corepack enable
16+
1317 - name : Use Node.js 18
1418 uses : actions/setup-node@v3
1519 with :
1620 node-version : ' 18.x'
1721 always-auth : true
18- - name : Install Yarn
19- run : npm install -g yarn
22+
2023 - name : Install dependencies
21- run : yarn
24+ run : yarn install
25+
2226 - name : Build
23- run : yarn build
27+ run : yarn run build
28+
2429 - name : Setup .yarnrc.yml
2530 run : |
2631 yarn config set npmAuthToken $NPM_AUTH_TOKEN
2732 yarn config set npmAlwaysAuth true
2833 env :
2934 NPM_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
35+
3036 - name : Publish
3137 env :
3238 NPM_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
Original file line number Diff line number Diff line change 3131 name : Lint
3232 runs-on : ubuntu-latest
3333 steps :
34- - uses : the-ton-tech/toolchain/lint@v1.4 .0
34+ - uses : the-ton-tech/toolchain/lint@v1.6 .0
3535 build :
3636 needs : lint
3737 runs-on : ${{ matrix.os }}
4343 - macos-15
4444 name : Test & Build on ${{ matrix.os }}
4545 steps :
46- -
uses :
the-ton-tech/toolchain/[email protected] 46+ -
uses :
the-ton-tech/toolchain/[email protected] 47+ with :
48+ os : ${{ matrix.os }}
Original file line number Diff line number Diff line change 44coverage /
55
66# yarn
7- .yarn /*
8- ! .yarn /patches
9- ! .yarn /plugins
10- ! .yarn /releases
11- ! .yarn /sdks
12- ! .yarn /versions
7+ yarn-error.log
8+ .yarn /
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- compressionLevel : mixed
2-
3- enableGlobalCache : false
4-
51nodeLinker : node-modules
6-
7- yarnPath : .yarn/releases/yarn-4.9.2.cjs
2+ enableScripts : false
Original file line number Diff line number Diff line change 2929 "@ton/sandbox" : " ^0.37.1" ,
3030 "@ton/tolk-js" : " ^1.0.0" ,
3131 "@ton/ton" : " ^15.3.1" ,
32- "@ton/toolchain" : " the-ton-tech/toolchain#v1.4 .0" ,
32+ "@ton/toolchain" : " the-ton-tech/toolchain#v1.6 .0" ,
3333 "@types/inquirer" : " ^8.2.6" ,
3434 "@types/jest" : " ^30.0.0" ,
3535 "@types/node" : " ^20.2.5" ,
You can’t perform that action at this time.
0 commit comments