Skip to content

Commit 6a05a32

Browse files
authored
chore: use npm install -g yarn in buildspec (#406)
1 parent 7a2633a commit 6a05a32

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

buildspec.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ phases:
55
runtime-versions:
66
nodejs: 10
77
commands:
8-
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.17.3
9-
- export PATH="$HOME/.yarn/bin:$PATH"
10-
- yarn
8+
- npm install -g yarn
119
build:
1210
commands:
11+
- echo Building...
12+
- yarn
1313
- echo Executing unit tests
1414
- yarn test
1515
post_build:

0 commit comments

Comments
 (0)