Skip to content

Commit

Permalink
fix: use yarn to build in pipeline (#1110)
Browse files Browse the repository at this point in the history
Notes
-----
  • Loading branch information
edwards-aws authored Oct 5, 2023
1 parent a875bc0 commit 333aec0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ phases:
- yarn install --frozen-lockfile
build:
commands:
- /bin/bash ./build.sh
- yarn build
post_build:
commands:
- "[ -f .BUILD_COMPLETED ] && /bin/bash ./pack.sh"
- "[ -f .BUILD_COMPLETED ] && yarn pack"
artifacts:
files:
- "**/*"
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"private": true,
"scripts": {
"build": "./build.sh",
"pack": "./pack.sh",
"clean": "./scripts/clean-stale-files.sh && lerna run clean && bash ./clean.sh",
"package": "lerna run package",
"release": "standard-version"
Expand Down

0 comments on commit 333aec0

Please sign in to comment.