Skip to content

add e2e test for api gateway (#11) #36

add e2e test for api gateway (#11)

add e2e test for api gateway (#11) #36

Workflow file for this run

name: CI
on:
push:
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Setup Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'
- name: Install
id: install
run: |
pnpm i
- name: Lint
run: |
pnpm lint
tests:
name: Tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: [16, 18, 20]
steps:
- uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Setup Node.js ${{ matrix.version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.version }}
cache: 'pnpm'
- name: Install
id: install
run: |
pnpm i
- name: Tests
run: |
pnpm test