Skip to content

Merge pull request #13 from papaemmelab/fix-NA-scenarios #5

Merge pull request #13 from papaemmelab/fix-NA-scenarios

Merge pull request #13 from papaemmelab/fix-NA-scenarios #5

Workflow file for this run

name: Deploy to AWS Lambda using Serverless
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Build and Compile
run: npm run build
- name: Run Tests
run: npm run test
- name: Deploy
run: npx serverless deploy
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}