Skip to content

Commit bb06392

Browse files
authored
Executing tests on push and pull request (#2)
* update package-lock.json * run npm test on every push and pull request using node 16 and 18
1 parent 7092603 commit bb06392

File tree

2 files changed

+2657
-1350
lines changed

2 files changed

+2657
-1350
lines changed

.github/workflows/aws-cdk-tests.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: AWS CDK CI
2+
3+
on: [ push, pull_request ]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
strategy:
11+
matrix:
12+
node-version: [16.x, 18.x]
13+
14+
steps:
15+
- uses: actions/checkout@v3
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v3
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
- run: npm ci
21+
- run: npm test

0 commit comments

Comments
 (0)