Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

feat: add schematics #15

feat: add schematics

feat: add schematics #15

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy on PR
'on': pull_request
jobs:
build_and_preview:
runs-on: ubuntu-latest
steps:
# needed for all cases
- if: github.event_name == 'push' && github.ref_name == 'main'
uses: actions/checkout@v3
# needed for nx affected command
- if: github.event_name == 'pull_request'
uses: actions/checkout@v3
with:
fetch-depth: 0
# needed for nx affected command
- if: github.event_name == 'pull_request'
run: git fetch --no-tags --depth=1 origin $BASE_BRANCH
- name: Checkout the repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
fetch-depth: 0
node-version: '18'
cache: 'npm'
- name: Install dependencies
run: yarn install --frozen-lockfile
# There are no tests currently
# - name: Test
# run: npm run test
- name: Production build
run: npm run build-vercel