Skip to content

Merge pull request #1122 from data-mermaid/M585-button-and-text-changes #472

Merge pull request #1122 from data-mermaid/M585-button-and-text-changes

Merge pull request #1122 from data-mermaid/M585-button-and-text-changes #472

Workflow file for this run

name: Deployment
on:
push:
branches:
- develop
tags:
- 'v[0-9]+.[0-9]+' # eg: v1.1
- 'v[0-9]+.[0-9]+.[0-9]+' # eg: v1.1.1
jobs:
deps-cache:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- uses: actions/cache@v3
id: yarn-cache
with:
path: node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- if: ${{ steps.yarn-cache.outputs.cache-hit != 'true' }}
name: Install dependencies
run: yarn install --frozen-lockfile
call-lint:
if: github.event.pull_request.draft == false
needs: [deps-cache]
uses: ./.github/workflows/_lint.yml
call-test:
if: github.event.pull_request.draft == false
needs: [deps-cache, call-lint]
uses: ./.github/workflows/_test.yml
call-cdk-deploy:
concurrency:
group: app-deployment-${{ github.ref }}
needs: [call-test, call-lint]
uses: ./.github/workflows/_cdk.yml
with:
cdk_subcommand: deploy
secrets: inherit