diff --git a/buildspec.dev.yml b/buildspec.dev.yml index c44d149..1583bf7 100644 --- a/buildspec.dev.yml +++ b/buildspec.dev.yml @@ -3,10 +3,12 @@ version: 0.2 phases: install: runtime-versions: - nodejs: 20 + nodejs: 20 + commands: + - npm ci build: commands: - - npm install && npm run build:dev + - npm run build:dev artifacts: files: - '**/*' diff --git a/buildspec.prod.yml b/buildspec.prod.yml index ce3c7b5..e66429f 100644 --- a/buildspec.prod.yml +++ b/buildspec.prod.yml @@ -4,10 +4,12 @@ phases: install: runtime-versions: nodejs: 20 + commands: + - npm ci build: commands: - - npm install && npm run build:prod + - npm run build:prod artifacts: files: - '**/*' - base-directory: 'build' \ No newline at end of file + base-directory: 'build'