This repository has been archived by the owner on Apr 10, 2024. It is now read-only.
chore(deps): update aws-cdk monorepo #280
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Test | |
concurrency: | |
group: test | |
cancel-in-progress: false | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "14" | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Set Build Permissions | |
run: | | |
mkdir $GITHUB_WORKSPACE/test/cdk.out | |
chmod 777 $GITHUB_WORKSPACE/test/cdk.out --recursive | |
chmod 777 $GITHUB_WORKSPACE/lambda --recursive | |
- name: Deploy & destroy | |
run: cd test && make deploy DESTROY | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
report-status: | |
name: success | |
runs-on: ubuntu-latest | |
needs: | |
- deploy | |
steps: | |
- name: Report success | |
run: echo 'Success' |