Skip to content

chore(deps): bump @types/node from 20.8.6 to 20.8.7 in /cdk #622

chore(deps): bump @types/node from 20.8.6 to 20.8.7 in /cdk

chore(deps): bump @types/node from 20.8.6 to 20.8.7 in /cdk #622

Workflow file for this run

name: CI
on:
pull_request:
workflow_dispatch:
push:
branches:
- main
jobs:
CI:
runs-on: ubuntu-latest
permissions:
# Allow GitHub to request an OIDC JWT ID token, for exchange with `aws-actions/configure-aws-credentials`
# See https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services#updating-your-github-actions-workflow
id-token: write
# Required for `actions/checkout`
contents: read
steps:
# Checkout the branch
- uses: actions/checkout@v3
# Node is needed for CDK
- 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
- uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'corretto'
cache: 'sbt'
# Build CDK and Play (in sequence)
- run: ./script/ci
# Fetch AWS credentials, allowing us to upload to Riff-Raff (well, S3)
- uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
aws-region: eu-west-1
# Upload our build artifacts to Riff-Raff (well, S3)
- uses: guardian/actions-riff-raff@v2
with:
projectName: devx::cdk-playground
configPath: cdk/cdk.out/riff-raff.yaml
contentDirectories: |
cdk.out:
- cdk/cdk.out
cdk-playground:
- target/cdk-playground.deb
cdk-playground-lambda:
- lambda/cdk-playground-lambda.zip