Skip to content

Disabled correct firebase functions #582

Disabled correct firebase functions

Disabled correct firebase functions #582

Workflow file for this run

name: PullRequest
on:
pull_request:
branches:
- master
jobs:
lint-frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 10.x
uses: actions/setup-node@v3
with:
node-version: 10.x
- name: Install dependencies
run: yarn install
- name: Lint
run: yarn lint
build-frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 10.x
uses: actions/setup-node@v3
with:
node-version: 10.x
- name: Install Dependencies
run: yarn install
- name: Build
run: yarn build
env:
NODE_ENV: prod
test-frontend-mobile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 10.x
uses: actions/setup-node@v3
with:
node-version: 10.x
- name: Install dependencies
run: yarn install
- name: Test frontend mobile
uses: cypress-io/github-action@v2
with:
env: NODE_ENV=prod
start: yarn start
wait-on: http://localhost:3000
config-file: cypress.json
test-frontend-desktop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 10.x
uses: actions/setup-node@v3
with:
node-version: 10.x
- name: Install dependencies
run: yarn install
- name: Test frontend desktop
uses: cypress-io/github-action@v2
with:
env: NODE_ENV=prod
start: yarn start
wait-on: http://localhost:3000
config-file: cypress-desktop.json
lint-firebase:
runs-on: ubuntu-latest
defaults:
run:
working-directory: firebase/functions
steps:
- uses: actions/checkout@v3
- name: Use Node.js 10.x
uses: actions/setup-node@v3
with:
node-version: 10.x
- name: Install Dependencies
run: npm install
- name: Lint
run: npm run lint