Skip to content

Commit

Permalink
build: ensure deps are installed when publishing package
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnpnl committed Sep 12, 2024
1 parent 527ae57 commit a3ec578
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,16 @@ jobs:
- name: Setup Node version ⚙️
uses: actions/setup-node@v4
if: ${{ steps.cache-yarn.outputs.cache-hit != 'true' }}
with:
node-version: 20
registry-url: https://registry.npmjs.org/

- name: Install 🔧
if: ${{ steps.cache-yarn.outputs.cache-hit != 'true' }}
run: |
yarn --immutable
- name: Publish with latest tag 🚀
if: ${{ needs.setup_variables.outputs.isLatest == 'true' }}
run: npm publish --access public
Expand Down

0 comments on commit a3ec578

Please sign in to comment.