Skip to content

Commit

Permalink
chore: update publish-package action to build before publish
Browse files Browse the repository at this point in the history
  • Loading branch information
moldy530 committed Oct 2, 2024
1 parent eae673b commit 92b6259
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ concurrency:
# it is running against DOES NOT contain [skip-ci] in the commit message
jobs:
build_and_test_deploy:
name: Build and Test and Deploy
name: Build and Publish
runs-on: ubuntu-latest

# Needed for Publishing
Expand Down Expand Up @@ -57,6 +57,9 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc

- name: Build all packages
run: yarn build:dev

# Lerna publish will, compute the new version, update files, run precommit hooks, tag, publish, and push change log
- name: Publish using Lerna
if: inputs.publish
Expand Down

0 comments on commit 92b6259

Please sign in to comment.