Skip to content

Commit a7ef9c4

Browse files
authored
Set NODE_ENV for build step in release workflow
1 parent 2420334 commit a7ef9c4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/create-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ jobs:
5656
run: echo version=$(cat package.json | jq -r '.version') | tee --append $GITHUB_OUTPUT
5757

5858
build:
59-
env:
60-
NODE_ENV: production
6159
name: Build
6260
permissions:
6361
contents: read
@@ -75,7 +73,9 @@ jobs:
7573

7674
- run: npm clean-install
7775

78-
- run: npm run build
76+
- env:
77+
NODE_ENV: production
78+
run: npm run build
7979

8080
- name: Pack as tarball
8181
run: |

0 commit comments

Comments
 (0)