Skip to content

Merge pull request #774 from guardian/update/aws #940

Merge pull request #774 from guardian/update/aws

Merge pull request #774 from guardian/update/aws #940

Workflow file for this run

name: CI
on:
pull_request:
workflow_dispatch:
push:
branches:
- main
jobs:
CI:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
aws-region: eu-west-1
# Node is needed for CDK
- name: Setup node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: 'cdk/package-lock.json'
# Java is needed for the Scala Play app
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: '11' # TODO read this from the `.java-version` file in the repository
distribution: 'corretto'
- run: ./scripts/ci