Skip to content

Merge pull request #738 from ucsf-education/salongam-patch-32 #152

Merge pull request #738 from ucsf-education/salongam-patch-32

Merge pull request #738 from ucsf-education/salongam-patch-32 #152

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@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- run: npm ci
- run: npm test
deploy:
name: Deploy To AWS
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- 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 }}