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

build(deps): bump nuxt from 2.14.12 to 3.4.3 #14

build(deps): bump nuxt from 2.14.12 to 3.4.3

build(deps): bump nuxt from 2.14.12 to 3.4.3 #14

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting on PR
on:
pull_request:
branches:
- main
paths-ignore:
- '**.md'
jobs:
build_and_preview:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.3.4
- name: Use Node.js 12
uses: actions/setup-node@v2.1.4
with:
node-version: 12
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache Dependencies
uses: actions/cache@v2.1.3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install Project Dependencies
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
env:
FIREBASE_API_KEY: ${{ secrets.FIREBASE_API_KEY }}
FIREBASE_MESSAGING_SENDER_ID: ${{ secrets.FIREBASE_MESSAGING_SENDER_ID }}
FIREBASE_APP_ID: ${{ secrets.FIREBASE_APP_ID }}
- name: Deploy to Firebase Hosting (Preview Channel)
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_DDRADAR_MEETUP }}'
projectId: ddradar-meetup
env:
FIREBASE_CLI_PREVIEWS: hostingchannels