File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5252 export TESTFILES=$(echo $CHUNKS | jq -r '.[${{ matrix.chunk }}][]|@sh')
5353 echo $TESTFILES
5454 echo $TESTFILES | xargs yarn test
55- runs-on : ubuntu-latest
56- name : " version bump and publish to npm"
57- needs : test
58- if : false
59- # if: github.ref == 'refs/heads/master' || contains(github.event.head_commit.message, 'BETA:')
60- steps :
61- - uses : actions/checkout@v4
62- - uses : actions/setup-node@v4
63- with :
64- node-version : " 18"
65- cache : " yarn"
66- # some mnemonic is requried in .env for hardhat config to compile
67- - name : Create env file
68- run : |
69- touch .env
70- echo MNEMONIC="dasdasds" >> .env
71- - name : " build"
72- run : |
73- yarn install --immutable
74- yarn compile
75- yarn build:test-sdk
76- yarn minimize
77- - name : Automated Version Bump
78- uses : phips28/gh-action-bump-version@master
79- with :
80- patch-wording : " RELEASE"
81- default : prerelease
82- preid : beta
83- rc-wording : " "
84- target-branch : ${{ env.GITHUB_REF_NAME }}
85- env :
86- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
87- - name : Publish to npm
88- uses : aliberkhsl/npm-publish@master
89- with :
90- token : ${{ secrets.NPM_KEY_4BF8 }}
91- access : " public"
You can’t perform that action at this time.
0 commit comments