Skip to content

Bump eslint from 8.40.0 to 8.50.0 in /functions #239

Bump eslint from 8.40.0 to 8.50.0 in /functions

Bump eslint from 8.40.0 to 8.50.0 in /functions #239

name: Preview Staging
on:
pull_request_target:
branches:
- develop
jobs:
build_and_preview_website:
runs-on: ubuntu-latest
steps:
- name: Setup Node.js environment
uses: actions/setup-node@v2.1.5
with:
# Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0
node-version: 14.x # optional
- name: Checkout
uses: actions/checkout@v2
with:
# Check out the pull request HEAD
ref: ${{ github.event.pull_request.head.sha }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: |
npm ci
cd ./functions && npm ci && npm run lint && cd ..
npm run test
npm run build-staging
- name: Deploy
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_DEV }}"
projectId: unlucky-validators-dev
expires: 30d