Skip to content

Merge pull request #1522 from ilios/dependabot/npm_and_yarn/aws-sdk-2… #820

Merge pull request #1522 from ilios/dependabot/npm_and_yarn/aws-sdk-2…

Merge pull request #1522 from ilios/dependabot/npm_and_yarn/aws-sdk-2… #820

Workflow file for this run

name: Deploy Dev Build
on:
push:
branches:
- master
concurrency: deploy-dev
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm test
deploy:
name: Deploy Lambda Function
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
- name: install dependencies
run: npm ci
- name: Serverless Deploy
run: npm run deploy:dev
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}