-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildspec.yml
32 lines (29 loc) · 1.01 KB
/
buildspec.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
version: 0.2
phases:
install:
commands:
- echo downloading nodejs base...
- curl -sL https://deb.nodesource.com/setup_12.x | bash -
- echo now starting nodejs installation...
- apt install -y nodejs
- echo installation complete...
- echo downloading yarb...
- curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
- echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
- echo installing yarn
- apt install --no-install-recommends yarn
- echo done installing...
pre_build:
commands:
- echo will start installing dependencies...
- yarn
build:
commands:
- echo building without test...
- yarn build
- echo build ready to rock johnnileza meu chapovski...
artifacts:
files:
- "**/*"
discard-paths: no
base-directory: build