Skip to content

feat(cb2-15629): add path for ATI authentication #750

feat(cb2-15629): add path for ATI authentication

feat(cb2-15629): add path for ATI authentication #750

Workflow file for this run

name: CI
on:
push:
branches:
- "develop"
pull_request:
branches:
- "develop"
jobs:
tests:
runs-on: ubuntu-latest
services:
local-dynamodb:
image: amazon/dynamodb-local
ports:
- '8000:8000'
options: --name local-dynamodb
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18.15.0'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run lint
run: npm run lint:ci
- name: Run tests
run: npm run test:ci
- name: Build
run: npm run build:prod
- name: Setup dotenv
run: cp .env.example .env
- name: Build
run: |
npm run build:dev
- name: Run integration tests
run: npm run test:integration:github
env:
AWS_ACCESS_KEY_ID: foo
AWS_SECRET_ACCESS_KEY: bar
- name: Cleanup lambda containers
run: |
NETWORK_NAME="$(docker network ls | grep github_network | awk '{print $2}')"
for i in ` docker network inspect -f '{{range .Containers}}{{.Name}} {{end}}' $NETWORK_NAME`; do docker network disconnect -f $NETWORK_NAME $i; done;