From edfaaf4178dcc7c407f99d649f2c3d874da84f94 Mon Sep 17 00:00:00 2001 From: ahadcove Date: Thu, 17 Nov 2022 09:21:05 -0500 Subject: [PATCH] feat: update buildspec version --- .ebignore | 21 +++++++++++++++++++++ buildspec.yml | 8 +++++++- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 .ebignore diff --git a/.ebignore b/.ebignore new file mode 100644 index 0000000..75e301e --- /dev/null +++ b/.ebignore @@ -0,0 +1,21 @@ +# dependencies +node_modules/ +# repository/project stuff +.idea/ +.git/ +.gitlab-ci.yml +README.md +# misc +.DS_Store +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* +# local env files +.env.local +.env.development.local +.env.test.local +.env.production.local +# non prod env files +.env.development +.env.test diff --git a/buildspec.yml b/buildspec.yml index f8ceb79..ccc08b6 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,11 +1,17 @@ -version: 0.1 +version: 0.2 phases: + install: + runtime-versions: + nodejs: 16 pre_build: commands: - npm ci build: commands: - npm run build + post_build: + commands: + - rm -rf node_modules artifacts: files: - '**/*'