Skip to content

fix(prettier): windows environments #13408

fix(prettier): windows environments

fix(prettier): windows environments #13408

Workflow file for this run

---
name: Default Pipeline
on:
pull_request:
push:
branches:
- 'main'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
init:
uses: ./.github/workflows/00-init.yml
get-latest-tag:
uses: ./.github/workflows/01-get-latest-tag.yml
needs: [init]
scan-secrets:
if: github.event.pull_request == null || github.event.pull_request.head.repo.owner.login == 'db-ui'
uses: ./.github/workflows/00-scan-secrets.yml
install-cypress:
uses: ./.github/workflows/00-install-cypress.yml
test:
uses: ./.github/workflows/01-test.yml
needs: [init]
validate:
uses: ./.github/workflows/01-validate.yml
needs: [init]
# local build all, is not required for gh-actions we split it to multiple jobs
# build-all:
# uses: ./.github/workflows/01-build-all.yml
# needs: [init]
build-stencil-targets:
uses: ./.github/workflows/01-build-stencil-targets.yml
needs: [init, test, validate]
build-showcases:
uses: ./.github/workflows/01-build-showcases.yml
needs: [build-stencil-targets]
build-storybook:
uses: ./.github/workflows/01-build-storybook.yml
needs: [build-showcases, get-latest-tag]
with:
tag: ${{ needs.get-latest-tag.outputs.tag }}
cypress:
uses: ./.github/workflows/02-cypress.yml
needs: [install-cypress, build-storybook]
checks-done:
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: 🎉 Checks done
run: |
result="${{ needs.cypress.result }}"
if [[ $result == "success" ]]; then
echo "🎉 All Cypress tests were successful."
exit 0
else
echo "There have been problems with the Cypress tests."
exit 1
fi
needs: [cypress]
deploy:
uses: ./.github/workflows/03-deploy-gh-pages.yml
if: ${{ github.actor != 'dependabot[bot]' && (github.event.pull_request == null || github.event.pull_request.head.repo.owner.login == 'db-ui') }}
needs: [validate, test, cypress]