Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

ci: update serverless node runtime version #65

ci: update serverless node runtime version

ci: update serverless node runtime version #65

Workflow file for this run

name: Build and deploy client to Firebase
on:
push:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
- name: Install Dependencies
working-directory: client
run: npm ci --legacy-peer-deps
- name: Setup firebase api key
working-directory: client
run: npm run build:update ${{ secrets.FIREBASE_API_KEY }}
- name: Build
working-directory: client
env:
NODE_OPTIONS: --openssl-legacy-provider
run: npm run build:prod
- name: Deploy to Firebase
uses: w9jds/firebase-action@master
with:
args: deploy --only hosting
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}