Skip to content

Fix LocalStack importing issue #18

Fix LocalStack importing issue

Fix LocalStack importing issue #18

name: Node.js Package
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
TEST_IMAGE_NAME: public.ecr.aws/lambda/nodejs:16
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm test
integration-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Pull test docker image
run: docker pull $TEST_IMAGE_NAME
- name: Integration test with LocalStack invoke method
run: bash ./test_in_docker.sh