Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Do Not Merge] Test adding and modifying github actions #722

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions .github/workflows/cdk-tests.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
name: CDK Tests

on:
push:
paths:
- 'deployment/cdk/**'
pull_request:
paths:
- 'deployment/cdk/**'
on: [push, pull_request]

jobs:
cdk-tests:
Expand All @@ -29,3 +23,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
Loading