Skip to content

Commit

Permalink
Test adding and modifying github actions
Browse files Browse the repository at this point in the history
Signed-off-by: Tanner Lewis <[email protected]>
  • Loading branch information
lewijacn committed Jun 14, 2024
1 parent 5a5b7e6 commit 0be705c
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cdk-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
25 changes: 25 additions & 0 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0be705c

Please sign in to comment.