Skip to content

chore: add localstack service #2

chore: add localstack service

chore: add localstack service #2

Workflow file for this run

name: Test CI
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
env:
AWS_REGION: us-east-1
AWS_ACCESS_KEY_ID: accesskey
AWS_SECRET_ACCESS_KEY: secretaccesskey
ENDPOINT: http://127.0.0.1:4566
jobs:
build:
runs-on: ubuntu-latest
services:
localstack:
image: localstack/localstack
ports:
- "127.0.0.1:4566:4566"
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
- run: npm test
- run: npm test:types