Skip to content

Commit f3d2932

Browse files
committed
WiP Node setup action
1 parent 9323117 commit f3d2932

File tree

3 files changed

+18
-9
lines changed

3 files changed

+18
-9
lines changed

.github/actions/cdk-synth/action.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,6 @@ inputs:
1111
runs:
1212
using: composite
1313
steps:
14-
- name: Install node
15-
uses: actions/setup-node@v4
16-
with:
17-
node-version: "18"
18-
cache: 'npm'
19-
20-
- name: Install node modules
21-
run: npm ci
22-
shell: bash
2314

2415
- name: Configure AWS Credentials
2516
uses: aws-actions/configure-aws-credentials@v4
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: 'Node Setup'
2+
description: 'Install node/npm and dependencies'
3+
4+
runs:
5+
using: composite
6+
steps:
7+
- name: Install node
8+
uses: actions/setup-node@v4
9+
with:
10+
node-version: "18"
11+
cache: 'npm'
12+
13+
- name: Install node modules
14+
run: npm ci
15+
shell: bash

.github/workflows/cdk-synth.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
- name: Python setup
2626
uses: ./.github/actions/python-setup
2727

28+
- name: Node setup
29+
uses: ./.github/actions/node-setup
30+
2831
- name: CDK Synth Dev
2932
uses: ./.github/actions/cdk-synth
3033
with:

0 commit comments

Comments
 (0)