Skip to content

1.124.0

1.124.0 #143

Workflow file for this run

name: On release
on:
release:
types: [released]
jobs:
test_and_deploy:
runs-on: ubuntu-latest
steps:
## Install and test
- uses: actions/checkout@v4
with:
token: ${{ secrets.DEPLOY_TOKEN }}
- uses: actions/setup-node@master
with:
node-version: '18.20.3'
- run: npm ci
- run: npm run ci:test:rules
- run: echo "Test functions"
# run: npm run test:functions
- run: npm run test:actions
- run: npm run test:shared
## Deploy to production
- run: npm run production:deploy:rules
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_CLI_TOKEN }}
- run: npm run production:deploy:indexes
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_CLI_TOKEN }}
- run: npm run production:deploy:functions
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_CLI_TOKEN }}
- run: npm run production:deploy:storage-rules
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_CLI_TOKEN }}