[WIP] chore(demo-cypress): mock fonts to fix flaky Cypress tests #16825
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: 🚀 Deploy / preview | |
on: pull_request | |
jobs: | |
build_and_preview: | |
if: ${{ !contains(github.head_ref, 'release/') }} | |
name: Firebase | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: taiga-family/ci/actions/setup/[email protected] | |
- uses: taiga-family/ci/actions/setup/[email protected] | |
- run: npx nx build demo | |
- name: Debug output | |
run: tree dist/demo/browser -P '*.html' | |
- name: Deploy preview | |
uses: FirebaseExtended/action-hosting-deploy@v0 | |
if: env.IS_OWNER_MODE == 'true' | |
with: | |
repoToken: ${{ secrets.GITHUB_TOKEN }} | |
firebaseServiceAccount: ${{ secrets.FIREBASE_TAIGA_PREVIEWS_SA }} | |
projectId: taiga-previews | |
expires: 1d | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true |