Skip to content

Commit

Permalink
upload generated CFN to riff-raff
Browse files Browse the repository at this point in the history
  • Loading branch information
twrichards committed May 20, 2024
1 parent 33fae27 commit b185f8e
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,30 @@ jobs:
cache: npm
cache-dependency-path: 'pan-domain-node/package-lock.json'

- name: JS Build
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: npm
cache-dependency-path: 'cdk/package-lock.json'

- name: synth infra
working-directory: cdk
run: |
npm ci
npm test
npm run synth
- name: Upload infra definitions to Riff-Raff
uses: guardian/actions-riff-raff@v4
with:
app: pan-domain-authentication
projectName: 'pan-domain-authentication'
configPath: cdk/cdk.out/riff-raff.yaml
contentDirectories: |
cdk.out:
- cdk/cdk.out
- name: pan-domain-node JS Build
run: |
pushd pan-domain-node
Expand Down

0 comments on commit b185f8e

Please sign in to comment.