- initial;
This commit is contained in:
25
buildspec.prod.yml
Normal file
25
buildspec.prod.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
version: 0.2
|
||||
|
||||
phases:
|
||||
install:
|
||||
runtime-versions:
|
||||
nodejs: 18
|
||||
commands:
|
||||
- npm install -g yarn
|
||||
- echo yarn -v
|
||||
- yarn -v
|
||||
pre_build:
|
||||
commands:
|
||||
- echo "@sinossi:registry=https://git.sinossi.it/api/v4/projects/271/packages/npm/" > .npmrc
|
||||
- echo "//git.sinossi.it/api/v4/projects/271/packages/npm/:_authToken=kdP6WxGtg71-MzJZDRe9" >> .npmrc
|
||||
- yarn install
|
||||
build:
|
||||
commands:
|
||||
- yarn extract
|
||||
- yarn compile
|
||||
- mkdir -pv public/loaded-files
|
||||
- yarn build:prod
|
||||
artifacts:
|
||||
files:
|
||||
- '**/*'
|
||||
base-directory: 'build'
|
||||
Reference in New Issue
Block a user