build develop on push #2
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
# This file was auto-generated by the Firebase CLI | |
# https://github.com/firebase/firebase-tools | |
name: Check if project builds | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- develop | |
jobs: | |
build_and_preview: | |
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install and Build | |
run: | | |
npm i -g pnpm | |
pnpm install | |
pnpm test | |
pnpm build |