Skip to content

Bump the cdk group with 4 updates #133

Bump the cdk group with 4 updates

Bump the cdk group with 4 updates #133

Workflow file for this run

name: 🧪 AB testing UI
on:
pull_request:
paths:
- 'ab-testing/**'
- '.github/workflows/ab-testing-*.yml'
push:
branches:
- main
paths:
- 'ab-testing/**'
- '.github/workflows/ab-testing-*.yml'
jobs:
build-ui:
name: AB testing UI build
runs-on: ubuntu-latest
defaults:
run:
working-directory: ab-testing/frontend
permissions:
contents: read
steps:
- uses: actions/checkout@v6
- name: Set up Node environment
uses: ./.github/actions/setup-node-env
- name: Build UI
run: pnpm build
- name: Save build
uses: actions/upload-artifact@v5
with:
name: ui-build
path: ab-testing/frontend/output/ab-tests.html
if-no-files-found: error
riff-raff:
name: AB testing Riffraff upload
runs-on: ubuntu-latest
needs: build-ui
permissions:
id-token: write
contents: read
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
persist-credentials: false
- name: Set up Node
uses: ./.github/actions/setup-node-env
- name: Fetch build
uses: actions/[email protected]
with:
name: ui-build
path: output/ab-tests.html
- name: Riff-Raff Upload
uses: guardian/[email protected]
with:
roleArn: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
githubToken: ${{ secrets.GITHUB_TOKEN }}
projectName: dotcom:ab-testing
configPath: ab-testing/riff-raff.yaml
contentDirectories: |
admin/ab-testing:
- output/ab-tests.html