From a01bf2c8192f410dde03251d8e2fcd5a804e5856 Mon Sep 17 00:00:00 2001 From: Akash Askoolum Date: Tue, 28 Sep 2021 12:30:04 +0100 Subject: [PATCH] chore: Use `guardian/actions-setup-node@v2.4.0` for Node management This action should pick up the node version from the `.nvmrc` file. --- .github/workflows/ci.yml | 10 ++++++---- cdk/.nvmrc => .nvmrc | 0 2 files changed, 6 insertions(+), 4 deletions(-) rename cdk/.nvmrc => .nvmrc (100%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 767aac96..583b27c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,10 +16,12 @@ jobs: - uses: guardian/actions-assume-aws-role@v1.0.0 with: awsRoleToAssume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }} - - name: Use Node.js 14.15.5 - uses: actions/setup-node@v2.4.0 - with: - node-version: 14.15.5 + + # Node is needed for CDK + - name: Setup node + uses: guardian/actions-setup-node@v2.4.0 + + # Java is needed for the Scala Play app - name: Set up JDK 8 uses: actions/setup-java@v2 with: diff --git a/cdk/.nvmrc b/.nvmrc similarity index 100% rename from cdk/.nvmrc rename to .nvmrc