Skip to content

feat: add pool config #416

feat: add pool config

feat: add pool config #416

name: CD Firebase ununifi-alpha-test
on:
push:
branches:
- 'develop'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm i -g npm@8.19.4
- run: npm ci
- run: npm run build:all:prod:ununifi-alpha-test
- run: npx firebase deploy --only hosting:ununifi-alpha-test --project=default --token=${{ secrets.FIREBASE_TOKEN }}