force build because node platform doesn't respect buildfile
This commit is contained in:
parent
94e286745a
commit
631da6c439
|
@ -0,0 +1,4 @@
|
||||||
|
container_commands:
|
||||||
|
00_build_sh:
|
||||||
|
command: ./build.sh
|
||||||
|
ignoreErrors: false
|
6
build.sh
6
build.sh
|
@ -1,10 +1,16 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
echo installing yarn
|
||||||
|
|
||||||
# install yarn
|
# install yarn
|
||||||
sudo npm install yarn -g
|
sudo npm install yarn -g
|
||||||
|
|
||||||
|
echo link
|
||||||
|
|
||||||
# make sure it's in path
|
# make sure it's in path
|
||||||
sudo ln -s "$(npm bin --global)"/yarn /usr/bin/yarn
|
sudo ln -s "$(npm bin --global)"/yarn /usr/bin/yarn
|
||||||
|
|
||||||
|
echo try to build
|
||||||
|
|
||||||
# build it
|
# build it
|
||||||
sudo yarn build
|
sudo yarn build
|
Loading…
Reference in New Issue