Skip to content

Commit

Permalink
chore: remove duplicate 'yarn install' (aws#7157)
Browse files Browse the repository at this point in the history
`yarn install` is being run by CodeBuild (in the `buildspec.yaml`)
as well as in `build.sh`.

The one from the buildspec is not necessary.
  • Loading branch information
rix0rrr authored Apr 3, 2020
1 parent 435b66f commit 423f02c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion buildspec-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ phases:
commands:
# Install yarn if it wasn't already present in the image
- yarn --version || npm -g install yarn
- yarn install --frozen-lockfile
build:
commands:
- /bin/bash ./build.sh && git diff-index --exit-code --ignore-space-at-eol --stat HEAD
1 change: 0 additions & 1 deletion buildspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ phases:
commands:
# Install yarn if it wasn't already present in the image
- yarn --version || npm -g install yarn
- yarn install --frozen-lockfile
pre_build:
commands:
- /bin/bash ./fetch-dotnet-snk.sh
Expand Down

0 comments on commit 423f02c

Please sign in to comment.