Skip to content

Commit

Permalink
add NODE_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
xxf098 committed Dec 31, 2022
1 parent f19957d commit ef50fe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
go version
cp $(go env GOROOT)/misc/wasm/wasm_exec.js ./web/gui/wasm_exec.js
npm install --prefix web/gui build
npm run --prefix web/gui build
NODE_ENV=production npm run --prefix web/gui build
GOOS=js GOARCH=wasm go get -u ./...
GOOS=js GOARCH=wasm go build -o ./web/gui/dist/main.wasm ./wasm
Expand Down

0 comments on commit ef50fe8

Please sign in to comment.