feat(infrastructure): added s3, dynamodb, cognito, some functions #10
Workflow file for this run
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: Backend CI | |
on: | |
push: | |
branches: | |
- develop | |
- feature/* | |
pull_request: | |
branches: | |
- develop | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Install Dependencies | |
run: npm install | |
working-directory: ./backend | |
- name: Lint Code | |
run: npm run lint | |
working-directory: ./backend | |
- name: Run Tests | |
run: npm test | |
working-directory: ./backend | |
- name: Deploy to Staging (Placeholder) | |
run: echo "Deploying backend to staging" |