Skip to content

Bump @babel/traverse from 7.22.19 to 7.23.2 in /cdk #20

Bump @babel/traverse from 7.22.19 to 7.23.2 in /cdk

Bump @babel/traverse from 7.22.19 to 7.23.2 in /cdk #20

Workflow file for this run

# Find full documentation here https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
name: CI
on:
pull_request:
# Manual invocation.
workflow_dispatch:
push:
# TODO uncomment these lines
# branches:
# main
# Ensure we only ever have one build running at a time.
# If we push twice in quick succession, the first build will be stopped once the second starts.
# This avoids any race conditions.
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
CI:
runs-on: ubuntu-latest
# See https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
permissions:
# required by aws-actions/configure-aws-credentials
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: 'cdk/package-lock.json'
- name: CDK build
working-directory: cdk
run: |
npm ci
npm run lint
npm test
npm run synth
# Setup AWS credentials to enable uploading to S3 for Riff-Raff.
# See https://github.com/aws-actions/configure-aws-credentials
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
aws-region: eu-west-1
# See https://github.com/guardian/actions-riff-raff
- name: Upload to riff-raff
uses: guardian/actions-riff-raff@v2
with:
projectName: interactives::interactive-tilemaker
configPath: cdk/cdk.out/riff-raff.yaml # Generated by https://github.com/guardian/cdk/tree/main/src/experimental/riff-raff-yaml-file
contentDirectories: |
cdk.out:
- cdk/cdk.out