From 03e806851b8a77540d89c76953b76c6fc65fd997 Mon Sep 17 00:00:00 2001 From: Gaurav Sharma Date: Tue, 30 Jul 2024 18:23:17 +0530 Subject: [PATCH] CD minor changes --- .github/workflows/layers.yaml | 5 +++-- .gitignore | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/layers.yaml b/.github/workflows/layers.yaml index a3b7007..03c4998 100644 --- a/.github/workflows/layers.yaml +++ b/.github/workflows/layers.yaml @@ -20,10 +20,10 @@ jobs: - uses: actions/setup-node@v2 with: - node-version: '16' + node-version: '18' - name: Upgrade npm - run: npm install -g npm@8.1.2 + run: npm install -g npm@10.7.0 - name: Installing project dependencies run: npm install @@ -41,6 +41,7 @@ jobs: - name: Upload layer.zip to S3 run: | + cd layer aws s3 cp layer.zip s3://enigma.webledger.in/layer.zip - name: Create/Update Lambda Layer diff --git a/.gitignore b/.gitignore index f431b60..c86f616 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,6 @@ database/*.sqlite # VSCode & Webstorm history directories .history .idea -*.zip \ No newline at end of file +*.zip + +layer/