Image classification/m1186 keep ic upload toast open #906
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: Pull Request | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- ready_for_review | |
- converted_to_draft | |
branches: | |
- develop | |
# Saving Computation Time by Stopping Obsolete Workflows | |
concurrency: | |
group: ci-pr-${{ github.ref }} | |
cancel-in-progress: true | |
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') }} | |
- 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-preview: | |
if: github.event.pull_request.draft == false | |
needs: [call-lint] | |
uses: ./.github/workflows/_preview-create.yml | |
secrets: inherit | |
call-cdk-diff: | |
if: github.event.pull_request.draft == false | |
needs: [call-lint] | |
uses: ./.github/workflows/_cdk.yml | |
with: | |
cdk_subcommand: diff | |
secrets: inherit | |