File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 1717 with :
1818 ref : ' main'
1919 fetch-depth : 0
20+ # Repository admin required to evade PR+checks branch protection
2021 token : ${{ secrets.GH_TOKEN }}
2122 - uses : actions/setup-node@v4
2223 with :
@@ -29,16 +30,20 @@ jobs:
2930 max_attempts : 3
3031 command : yarn && yarn lerna:prepare
3132 - name : GIT Setup
33+ # Alter branding of release commit, despite GITHUB_TOKEN having real owner
3234 run : |
3335 git config --global user.name 'Invertase Publisher'
3436 git config --global user.email '[email protected] ' 3537 - name : Publish Packages
38+ # for lerna, you must write the token out to .npmrc like this
3639 run : |
3740 echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
3841 git diff --exit-code
3942 yarn lerna changed
4043 yarn lerna version --yes --force-publish=*
4144 yarn lerna publish from-package --yes
4245 env :
46+ # new style token w/scope for `@react-native-firebase` required
47+ # to work with npmjs.com 2FA-or-automation-token package requirement
4348 NPM_TOKEN : ${{ secrets.MIKEHARDY_NPM_TOKEN }}
4449 GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
You can’t perform that action at this time.
0 commit comments