Skip to content

Commit

Permalink
Merge pull request #17 from dheffer/github-actions-setup
Browse files Browse the repository at this point in the history
ADded 'CI=false' before 'npm run build' so that warnings no longer re…
  • Loading branch information
BrandonJohnson97 authored Mar 19, 2024
2 parents 70aa218 + af7cd5c commit 0e241aa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/deploy-to-lambda.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#name: Deploy to AWS Lambda
#on:
# release:
# types: [published]
#jobs:
name: Deploy to AWS Lambda
on:
push:
branches:
- cool-feature
jobs:
8 changes: 4 additions & 4 deletions .github/workflows/deploy-to-s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0e241aa

Please sign in to comment.