Created
August 8, 2022 23:04
-
-
Save danielVargas/ff2d8abb15f4d74c6f84ea12ffd6e9a8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 0.2 | |
phases: | |
install: | |
runtime-versions: | |
nodejs: 16 | |
commands: | |
- npm install | |
- npm install -g yarn | |
# install dependencies | |
pre_build: | |
commands: | |
#installs dependencies into the node_modules/ directory | |
- echo Entered the pre_build phase... | |
- yarn install | |
build: | |
commands: | |
# run build script | |
- yarn build | |
artifacts: | |
# include all files required to run application | |
# we include only the static build files | |
files: | |
- '**/*' | |
base-directory: 'build' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment