Skip to content

Commit

Permalink
chore: Use guardian/actions-setup-node@v2.4.1 for Node management
Browse files Browse the repository at this point in the history
This action should pick up the node version from the `.nvmrc` file.
  • Loading branch information
akash1810 committed Sep 28, 2021
1 parent e9617d1 commit 794ceb8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,15 @@ 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

# Node is needed for CDK
- name: Setup node
uses: guardian/actions-setup-node@v2.4.1
with:
node-version: 14.15.5
cache: 'yarn'
cache-dependency-path: 'cdk/yarn.lock'

# Java is needed for the Scala Play app
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
Expand Down
File renamed without changes.

0 comments on commit 794ceb8

Please sign in to comment.