Skip to content

Commit

Permalink
chore(github/workflow): pass production env to build process
Browse files Browse the repository at this point in the history
  • Loading branch information
njfamirm committed Dec 18, 2024
1 parent 916f655 commit e407b1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
@@ -41,7 +41,6 @@ jobs:

- name: 🏗 Cache Layer
uses: actions/cache@v4
# id: yarn_cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn_config.outputs.cache_folder }}
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
@@ -53,6 +52,8 @@ jobs:

- name: 🏗 Build
run: yarn build
env:
NODE_ENV: production

- name: 🚀 Publish
run: yarn run publish --yes

0 comments on commit e407b1e

Please sign in to comment.