From e27a0cf616d7efa2cd200669d94e9b5ea8a5ae64 Mon Sep 17 00:00:00 2001 From: --edit Date: Sat, 6 Nov 2021 11:59:12 +0200 Subject: [PATCH] tests for nodejs10.x --- .github/workflows/test.yml | 7 +++++-- test/res/new-function-yaml-v10.lambda | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c6f2e9b..847781b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,13 +21,16 @@ jobs: max-parallel: 1 matrix: node-version: + - 10.x - 12.x - 14.x include: - node-version: 12.x - region: "us-west-1" + region: "us-east-1" + - node-version: 12.x + region: "us-east-1" - node-version: 14.x - region: "us-west-2" + region: "us-east-2" steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} diff --git a/test/res/new-function-yaml-v10.lambda b/test/res/new-function-yaml-v10.lambda index 2a4ee30..195f29d 100644 --- a/test/res/new-function-yaml-v10.lambda +++ b/test/res/new-function-yaml-v10.lambda @@ -6,7 +6,7 @@ AWS_REGION: "eu-central-1" FunctionName: new-function-v10 Role: "arn:aws:iam::452980636694:role/CliLambdaDeploy-TestRole-1H89NZ845HHBK" -Runtime: "nodejs12.x" +Runtime: "nodejs10.x" Handler: "index.handler" MemorySize: "128" Timeout: "3"