Skip to content

Update Serverless (JS) #196

Update Serverless (JS)

Update Serverless (JS) #196

name: CI (email-importer)
on:
push:
branches: [main]
paths:
- aws/email-importer/**
pull_request:
branches: [main]
paths:
- aws/email-importer/**
workflow_dispatch:
defaults:
run:
working-directory: aws/email-importer
concurrency:
group: ci-${{ github.ref }}-email-importer
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
cache-dependency-path: aws/email-importer/package-lock.json
- name: Setup Firebase CLI
run: npm install -g firebase-tools
- run: npm ci
name: Install dependencies
- run: npm test
name: Run tests
- run: npm run ts:check
name: Type check