From af7cd5c3124017bbbbb4de3dac256c2e1634a935 Mon Sep 17 00:00:00 2001 From: Delaney H Date: Tue, 19 Mar 2024 15:18:02 -0230 Subject: [PATCH] ADded 'CI=false' before 'npm run build' so that warnings no longer register as errors --- .github/workflows/deploy-to-lambda.yml | 11 ++++++----- .github/workflows/deploy-to-s3.yml | 8 ++++---- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy-to-lambda.yml b/.github/workflows/deploy-to-lambda.yml index 77697af..e771427 100644 --- a/.github/workflows/deploy-to-lambda.yml +++ b/.github/workflows/deploy-to-lambda.yml @@ -1,5 +1,6 @@ -#name: Deploy to AWS Lambda -#on: -# release: -# types: [published] -#jobs: \ No newline at end of file +name: Deploy to AWS Lambda +on: + push: + branches: + - cool-feature +jobs: \ No newline at end of file diff --git a/.github/workflows/deploy-to-s3.yml b/.github/workflows/deploy-to-s3.yml index 0a755dc..480ac70 100644 --- a/.github/workflows/deploy-to-s3.yml +++ b/.github/workflows/deploy-to-s3.yml @@ -18,10 +18,10 @@ jobs: uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - - name: Build files - run: | - npm install - npm run build --if-present + - name: npm-install + run: npm install + - name: npm-build + run: CI=false npm run build --if-present - name: Deploy to S3 uses: jakejarvis/s3-sync-action@master with: