Skip to content

Commit e7abcc5

Browse files
committed
set NODE_ENV=production on wercker
1 parent d32da23 commit e7abcc5

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

test/specs/elements/Button/Button-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {Simulate} from 'react-addons-test-utils';
33
import sandbox from 'test/utils/Sandbox-util';
44
import {Button} from 'stardust';
55

6-
describe.only('Button', () => {
6+
describe('Button', () => {
77
it('has type button by default', () => {
88
render(<Button />)
99
.findTag('button')

wercker.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ build:
2222
# Read more about steps on our dev center:
2323
# http://devcenter.wercker.com/docs/steps/index.html
2424
steps:
25+
- script:
26+
name: env vars
27+
code: |
28+
export NODE_ENV=production
2529
# A step that executes `npm install` command
2630
- npm-install
2731
- script:
@@ -49,7 +53,7 @@ deploy:
4953
- script:
5054
name: env vars
5155
code: |
52-
NODE_ENV=production
56+
export NODE_ENV=production
5357
- add-to-known_hosts:
5458
hostname: github.com
5559
- add-ssh-key:

0 commit comments

Comments
 (0)