Skip to content

Commit ae0534d

Browse files
authored
feat: add Node.js setup to CI workflows for improved compatibility
1 parent 7a117f4 commit ae0534d

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

.github/workflows/azure-dev-down.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ jobs:
3535
with:
3636
version: '1.20.0' # Specify your desired azd version here
3737

38+
- name: Setup Node.js
39+
uses: actions/setup-node@v4
40+
with:
41+
node-version: '18.x'
42+
3843
- name: Install Terraform
3944
uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
4045
with:

.github/workflows/azure-dev.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ jobs:
4747
with:
4848
version: '1.20.0' # Specify your desired azd version here
4949

50+
- name: Setup Node.js
51+
uses: actions/setup-node@v4
52+
with:
53+
node-version: '18.x'
54+
5055
- name: Install Terraform
5156
uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
5257
with:

.github/workflows/terraform-validate.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,15 @@ jobs:
4949
with:
5050
fetch-depth: 0 # Required for proper GitLeaks scanning
5151

52+
- name: Setup Node.js
53+
uses: actions/setup-node@v4
54+
with:
55+
node-version: '18.x'
56+
5257
- name: Setup Terraform
5358
uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
5459
with:
55-
terraform_version: "1.12.2" # Pinning specific version
60+
terraform_version: "1.13.3" # Pinning specific version
5661

5762
- name: Terraform Init
5863
id: tf-init

0 commit comments

Comments
 (0)