From 016196cb318a32126980042849f2c7fd35ba80c8 Mon Sep 17 00:00:00 2001 From: Dominick Martelly Date: Wed, 24 Jan 2024 10:23:02 -0500 Subject: [PATCH] Add AWS package workflow and import dependencies --- .github/workflows/{Test.yml => package-aws.yml} | 16 +++++++--------- packages/aws/stepDefinitions/imports.js | 2 ++ 2 files changed, 9 insertions(+), 9 deletions(-) rename .github/workflows/{Test.yml => package-aws.yml} (80%) create mode 100644 packages/aws/stepDefinitions/imports.js diff --git a/.github/workflows/Test.yml b/.github/workflows/package-aws.yml similarity index 80% rename from .github/workflows/Test.yml rename to .github/workflows/package-aws.yml index 49d0426..2842268 100644 --- a/.github/workflows/Test.yml +++ b/.github/workflows/package-aws.yml @@ -1,17 +1,17 @@ -# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node. -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions - -name: Build / Test +name: Test AWS Package on: + workflow_dispatch: push: branches: [ main ] + paths: + - 'packages/aws/**' pull_request: - branches: [ main ] + paths: + - 'packages/aws/**' jobs: - build: - + MAF-AWS: runs-on: ubuntu-latest strategy: matrix: @@ -45,8 +45,6 @@ jobs: env: ENVIRONMENT: CI USE_ENV_VARIABLES: "TRUE" - FAKE_SQL_USERNAME: MAF - FAKE_SQL_PASSWORD: MAF LOCALSTACK_HOSTNAME: localhost AWSENV: LOCALSTACK diff --git a/packages/aws/stepDefinitions/imports.js b/packages/aws/stepDefinitions/imports.js new file mode 100644 index 0000000..ea4fc08 --- /dev/null +++ b/packages/aws/stepDefinitions/imports.js @@ -0,0 +1,2 @@ +require('@ln-maf/validations') +require('@ln-maf/core/parameter_types')