Skip to content

Commit

Permalink
Add step to pre-merge
Browse files Browse the repository at this point in the history
  • Loading branch information
louiseli1 committed Sep 20, 2024
1 parent 9424e1f commit a8ed3b7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/pre-merge-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,17 @@ jobs:

run-premerge-checks:
runs-on: ubuntu-latest
env:
AWS_REGION: eu-west-2
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

- name: SAM Validate
run: sam validate --region ${{ env.AWS_REGION }} -t deploy/template.yaml --lint

- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
Expand Down

0 comments on commit a8ed3b7

Please sign in to comment.