From 0eadc426890a2474e69d66ee8e893060e371dfc2 Mon Sep 17 00:00:00 2001 From: Lucas Rodriguez Date: Wed, 11 Oct 2023 21:48:29 -0500 Subject: [PATCH] Install NodeJS and deps in workflow --- .github/workflows/test-aws-init-package.yml | 22 +++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/test-aws-init-package.yml b/.github/workflows/test-aws-init-package.yml index 33649e2..b4552d8 100644 --- a/.github/workflows/test-aws-init-package.yml +++ b/.github/workflows/test-aws-init-package.yml @@ -86,6 +86,17 @@ jobs: - name: Install Pulumi run: curl -fsSL https://get.pulumi.com | sh + - name: Setup NodeJS + uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1 + with: + node-version: 18 + cache: "npm" + cache-dependency-path: "infra/iam/package-lock.json" + + - name: Install Node dependencies + working-directory: infra/iam + run: npm ci + - name: Deploy EKS package run: | zarf package deploy build/zarf-package-distro-eks-multi-0.0.3.tar.zst \ @@ -189,6 +200,17 @@ jobs: - name: Install Pulumi run: curl -fsSL https://get.pulumi.com | sh + - name: Setup NodeJS + uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1 + with: + node-version: 18 + cache: "npm" + cache-dependency-path: "infra/iam/package-lock.json" + + - name: Install Node dependencies + working-directory: infra/iam + run: npm ci + - name: Deploy EKS package run: | zarf package deploy build/zarf-package-distro-eks-multi-0.0.3.tar.zst \