chore(ci): fix automated mac builds

This commit is contained in:
calebboyd
2018-07-31 11:43:36 -05:00
parent ea93e16f40
commit db7cdf0200
4 changed files with 16 additions and 28 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
export NVS_HOME="$HOME/.nvs"
. "$NVS_HOME/nvs.sh" install && nvs link lts && nvs use default
set -e -x
yarn run asset-compile
+6 -6
View File
@@ -1,7 +1,7 @@
version: 2
jobs:
test:
build:
macos:
xcode: "9.0"
steps:
@@ -11,18 +11,18 @@ jobs:
- package-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }}
- package- # Fallback for the latest package.json cache
- run:
name: configure-yarn
command: .circleci/bootstrap.sh
name: setup
command: .circleci/setup.sh
- save_cache:
key: package-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }}
paths:
- node_modules
- run:
name: test
command: .circleci/test.sh
name: build
command: .circleci/build.sh
workflows:
version: 2
test:
jobs:
- test
- build
+2 -11
View File
@@ -6,15 +6,6 @@ echo "setting up node to use latest lts"
export NVS_HOME="$HOME/.nvs"
git clone --depth=1 https://github.com/jasongin/nvs "$NVS_HOME"
. "$NVS_HOME/nvs.sh" install
nvs add lts
nvs link lts
nvs use default
echo "using node $(node --version)"
# Install latest yarn version
npm install -g yarn
echo "using yarn $(yarn --version)"
# Run yarn
nvs add lts && nvs link lts nvs use default
npm install -g yarn
yarn
-11
View File
@@ -1,11 +0,0 @@
#1/usr/bin/env bash
export NVS_HOME="$HOME/.nvs"
. "$NVS_HOME/nvs.sh" install
nvs link lts
nvs use default
set -e -x
yarn run asset-compile