remove web API key from view #81
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: Build | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 18.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18.x | |
- run: npm install -g [email protected] | |
- run: yarn | |
- run: yarn workspaces run build | |
env: | |
NODE_OPTIONS: --openssl-legacy-provider | |
- name: deploy main | |
if: github.ref == 'refs/heads/main' | |
env: | |
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} | |
run: | | |
yarn global add firebase-tools@12 | |
firebase deploy --token "$FIREBASE_TOKEN" --force |