updated buildspec

This commit is contained in:
Vitalii Kiiko
2024-08-09 11:27:30 +02:00
parent 2661152673
commit 59f58a8fb7
3 changed files with 3 additions and 19 deletions

View File

@@ -3,23 +3,11 @@ 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
nodejs: 20
build:
commands:
- yarn extract
- yarn compile
- mkdir -pv public/loaded-files
- yarn build:staging
- npm install && npm run build:staging
artifacts:
files:
- '**/*'
base-directory: 'build'
base-directory: 'build'