Feature: Firebase Emulators support (#28) #149
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 🚀 | |
on: | |
push: | |
branches: ['main'] | |
pull_request: | |
branches: ['main'] | |
jobs: | |
prettier: | |
name: 🧪 Prettier | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@v3 | |
- name: 📥 Download deps | |
run: npm ci | |
- name: 🔍 Format | |
run: npm run format | |
eslint: | |
name: ✅ ESLint | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@v3 | |
- name: 📥 Download deps | |
run: npm ci | |
- name: 🪄 Lint | |
run: npm run lint | |
jest: | |
name: 🃏 Jest | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@v3 | |
- name: 📥 Download deps | |
run: npm ci | |
# ! uncomment this after you add test | |
# - name: 🔬 Test | |
# run: npm run test:ci |