File tree 1 file changed +11
-10
lines changed
1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -50,16 +50,17 @@ jobs:
50
50
run : |
51
51
yarn build
52
52
53
- - name : (WIP) Determine what version to release (--yes skips the confirmation prompt)
54
- run : npx lerna version --loglevel=silly --conventional-commits --exact --yes --no-git-tag-version --no-push
53
+ - name : Determine what version to release and publish to Github (--yes skips the confirmation prompt)
55
54
env :
56
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
55
+ GH_TOKEN : ${{ secrets.JAMES_HENRY_GH_TOKEN }}
56
+ run : |
57
+ # Required for github release to work
58
+ git config --global user.email "james@henry.sc"
59
+ git config --global user.name "James Henry"
57
60
58
- - run : |
59
- git diff
60
- git status
61
+ npx lerna version --loglevel=silly --yes --conventional-commits --exact --force-publish --github-release -m "chore: publish %s"
61
62
62
- # - name: Publish the updated versions to NPM (--yes skips the confirmation prompt)
63
- # run: npx lerna publish from-package --yes
64
- # env:
65
- # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
63
+ - name : Publish the updated versions to NPM (--yes skips the confirmation prompt)
64
+ run : npx lerna publish from-package --yes
65
+ env :
66
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments