Skip to content

Commit

Permalink
Build before running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fruchtose-stripe committed Apr 12, 2024
1 parent d709a0f commit 9fc260b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/publish
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ fi
echo "Installing dependencies according to lockfile"
yarn install --frozen-lockfile

echo "Building"
yarn run build

echo "Running tests"
yarn run test

Expand All @@ -152,9 +155,6 @@ verify_commit_is_signed
echo "Pushing git commit and tag"
git push --follow-tags

echo "Building"
yarn run build

echo "Publishing release"
yarn --ignore-scripts publish --non-interactive --access=public

Expand Down

0 comments on commit 9fc260b

Please sign in to comment.