From 0be705c83eecaf898ecf427f7d297cbfd3cb5fa2 Mon Sep 17 00:00:00 2001 From: Tanner Lewis Date: Fri, 14 Jun 2024 14:06:54 -0400 Subject: [PATCH] Test adding and modifying github actions Signed-off-by: Tanner Lewis --- .github/workflows/cdk-tests.yml | 2 ++ .github/workflows/test-action.yml | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 .github/workflows/test-action.yml diff --git a/.github/workflows/cdk-tests.yml b/.github/workflows/cdk-tests.yml index f0705c745..134ebd302 100644 --- a/.github/workflows/cdk-tests.yml +++ b/.github/workflows/cdk-tests.yml @@ -29,3 +29,5 @@ jobs: run: npm ci - name: Run CDK Jest Tests run: npm test + - name: Run CDK Jest Tests Number 2 + run: npm test diff --git a/.github/workflows/test-action.yml b/.github/workflows/test-action.yml new file mode 100644 index 000000000..65e14ae92 --- /dev/null +++ b/.github/workflows/test-action.yml @@ -0,0 +1,25 @@ +name: Test Action + +on: [push, pull_request] + +jobs: + test-action: + strategy: + matrix: + node-version: ['18.x'] + os: [ubuntu-latest] + runs-on: ${{ matrix.os }} + defaults: + run: + working-directory: ./deployment/cdk/opensearch-service-migration + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + - name: Install NPM dependencies + run: npm ci + - name: Run CDK Jest Tests + run: npm test