Skip to content

Commit 6029e7f

Browse files
Fix clean publish bug (#583)
1 parent 6afe7d8 commit 6029e7f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/publish

+3-3
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,6 @@ fi
173173
echo "Installing dependencies according to lockfile"
174174
yarn install --frozen-lockfile
175175

176-
echo "Running tests"
177-
yarn run test
178-
179176
if [ -n "$PREID" ]; then
180177
echo "Bumping package.json $RELEASE_TYPE, $PREID version and tagging commit"
181178
yarn version --$RELEASE_TYPE --preid $PREID
@@ -187,6 +184,9 @@ fi
187184
echo "Building"
188185
yarn run build
189186

187+
echo "Running tests"
188+
yarn run test
189+
190190
verify_commit_is_signed
191191

192192
echo "Pushing git commit and tag"

0 commit comments

Comments
 (0)