Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit 297e418

Browse files
mustofa-binarymustofa-binary
andauthored
test (#6593)
* test * test: config * test again * fix: alias space Co-authored-by: mustofa-binary <mustofa-binary@binary.com>
1 parent 37bcde1 commit 297e418

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

.circleci/config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,12 @@ jobs:
179179
k8s_svc_name: "production-binary-com"
180180

181181
workflows:
182+
test:
183+
jobs:
184+
- test:
185+
filters:
186+
branches:
187+
ignore: /^master$/
182188
release:
183189
jobs:
184190
- release_beta:

build/aliases.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,9 @@ release:
6464
releaseci:
6565
- 'default'
6666
- 'shell:compile_production'
67+
68+
release_test_link:
69+
- 'copy'
70+
- 'css'
71+
- 'js'
72+
- 'shell:compile_production'

build/config/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const isRelease = (grunt) => ['release', 'releaseci'].indexOf(grunt.cli.tasks[0]) != -1;
1+
const isRelease = (grunt) => ['release', 'releaseci', 'release_test_link'].indexOf(grunt.cli.tasks[0]) != -1;
22

33
const getReleaseTarget = (grunt) => {
44
const release_target = Object.keys(global.release_config).find(grunt.option);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"serve": "sudo -p 'enter password for sudo:' grunt serve",
99
"start": "sudo -p 'enter password for sudo:' grunt start",
1010
"eslint": "eslint --fix \"src/**/*.jsx\" src/",
11-
"build": "grunt releaseci --production"
11+
"build": "grunt release_test_link --production"
1212
},
1313
"repository": {
1414
"type": "git",

0 commit comments

Comments
 (0)