Skip to content

Bump braces from 3.0.2 to 3.0.3 #162

Bump braces from 3.0.2 to 3.0.3

Bump braces from 3.0.2 to 3.0.3 #162

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@v2
- uses: aws-actions/configure-aws-credentials@v1
with:
aws-region: eu-west-1
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
- uses: guardian/[email protected]
with:
private-ssh-keys: ${{ secrets.PRIVATE_INFRASTRUCTURE_CONFIG_DEPLOY_KEY }}
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: npm
- uses: actions/setup-go@v3
with:
go-version: '1.18'
- name: Build Go service
run: |
cd service
GOOS=linux GOARCH=arm64 go build -o static-site-service main.go
- name: CDK Synth
run: |
npm ci
npm test -- --passWithNoTests
npm run synth-infra
- uses: guardian/actions-riff-raff@v2
with:
app: actions-static-site-infra
config: |
stacks:
- deploy
regions:
- eu-west-1
allowedStages:
- INFRA
deployments:
cfn:
app: actions-static-site-infra
type: cloud-formation
parameters:
templatePath: Static-Site-INFRA.template.json
amiParameter: AMIActionsstaticsiteinfra
amiTags:
BuiltBy: amigo
Recipe: arm64-focal-java11-deploy-infrastructure
AmigoStage: PROD
app:
app: actions-static-site-infra
type: autoscaling
parameters:
bucketSsmLookup: true
prefixApp: true
dependencies:
- cfn
contentDirectories: |
cfn: [cdk.out/Static-Site-INFRA.template.json]
app: [service/static-site-service]