Disabled correct firebase functions #582
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |