ignoring dist path; fixed sam definition; fixed Makefile for ts build… #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: SAM build & validate | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
jobs: | |
sam-build-validate: | |
runs-on: ubuntu-latest | |
outputs: | |
env-name: ${{ steps.env-name.outputs.environment }} | |
steps: | |
- uses: actions/setup-node@v3 | |
- uses: actions/checkout@v4 | |
- run: npm ci | |
- run: sam build | |
- run: sam validate |