Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@danielVargas
Created August 8, 2022 23:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielVargas/ff2d8abb15f4d74c6f84ea12ffd6e9a8 to your computer and use it in GitHub Desktop.
Save danielVargas/ff2d8abb15f4d74c6f84ea12ffd6e9a8 to your computer and use it in GitHub Desktop.
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