From 82f61f8dbff21458f9aa88fb3e9fd82d1193e516 Mon Sep 17 00:00:00 2001 From: DiegoVictor Date: Sun, 9 Jun 2024 00:22:34 -0300 Subject: [PATCH] Give permissions on node_modules --- .github/workflows/deploy.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ceb623d..b956774 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -77,8 +77,7 @@ jobs: -w /var/task \ --entrypoint /bin/bash \ amazon/aws-lambda-nodejs:20 \ - -c "npm i --production" - chmod -R a+x node_modules + -c "npm i --production && chmod -R a+x node_modules" - name: Build Package run: sam build