Skip to content

ci: enable some Nx options #9023

ci: enable some Nx options

ci: enable some Nx options #9023

Workflow file for this run

name: 🚀 Deploy / preview
on: pull_request
jobs:
build_and_preview:
if: ${{ !contains(github.head_ref, 'release/') }}
name: Firebase
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- run: npx nx build demo --base-href='/'
- 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_SERVICE_ACCOUNT_TAIGA_UI }}
projectId: taiga-ui
expires: 1d
concurrency:
group: firebase-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true