File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -147,10 +147,16 @@ jobs:
147
147
if : github.ref == 'refs/heads/master'
148
148
steps :
149
149
- uses : actions/checkout@v2
150
- with :
151
- fetch-depth : 0 # fetch all history for this job, because lerna needs it
150
+ # Fetch all history for all tags and branches in this job because lerna needs it
152
151
- run : |
152
+ git fetch --prune --unshallow
153
+ echo "fetched"
154
+ git status
155
+ echo "end status 1"
156
+ git checkout master
153
157
git status
158
+ echo "end status 2"
159
+ echo "git log:"
154
160
git log -n 2
155
161
156
162
- name : Use Node.js ${{ env.PRIMARY_NODE_VERSION }}
@@ -178,6 +184,6 @@ jobs:
178
184
yarn check-clean-workspace-after-install
179
185
180
186
- name : Publish all packages to npm
181
- run : npx lerna publish --canary --exact --force-publish --yes
187
+ run : npx lerna publish --log-level=verbose -- canary --exact --force-publish --yes
182
188
env :
183
189
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments