Merge pull request #15 from TLX-Protocol/remove-exclusions #26
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 to Firebase on merge | |
"on": | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Installing Dependencies | |
working-directory: ./functions | |
run: yarn | |
- name: Building App | |
working-directory: ./functions | |
run: yarn run build | |
- name: Linting | |
working-directory: ./functions | |
run: yarn run lint | |
- name: Install Firebase Tools | |
run: npm install -g firebase-tools | |
- name: Deploying to Firebase | |
run: firebase deploy --token "${{ secrets.FIREBASE_SECRET }}" |