Skip to content

Commit bca1493

Browse files
build fix
1 parent 233d187 commit bca1493

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
key: go-mod-cache-{{ checksum "go.sum" }}
3030
- run:
3131
name: Build backend
32-
command: go build -o bin/backend ./...
32+
command: go run build.go build
3333

3434
build-frontend:
3535
executor: node-executor
@@ -48,7 +48,7 @@ jobs:
4848
key: yarn-cache-{{ checksum "yarn.lock" }}
4949
- run:
5050
name: Build frontend
51-
command: yarn build
51+
command: yarn run build
5252

5353
workflows:
5454
version: 2

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"version": "11.3.0-pre",
77
"repository": "github:grafana/grafana",
88
"scripts": {
9-
"build": "NODE_ENV=dev nx exec --verbose -- webpack --config scripts/webpack/webpack.dev.js",
9+
"build": "NODE_ENV=dev NODE_OPTIONS=--max_old_space_size=4096 nx exec --verbose -- webpack --config scripts/webpack/webpack.dev.js",
1010
"build:nominify": "yarn run build -- --env noMinify=1",
1111
"dev": "NODE_ENV=dev nx exec -- webpack --config scripts/webpack/webpack.dev.js",
1212
"e2e": "./e2e/start-and-run-suite",

0 commit comments

Comments
 (0)