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