Skip to content

Fix putting breaks in at the wrong spot #77

Fix putting breaks in at the wrong spot

Fix putting breaks in at the wrong spot #77

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build-webapp:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Install packages
run: npm ci
- name: Build
run: npm run build
- name: Lint
run: npm run lint
build-functions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install packages (webapp)
run: npm ci
- name: Install packages (functions)
run: npm ci --prefix=functions
- name: Build
run: npm run build --prefix=functions
- name: Lint
run: npx eslint 'functions/src/**/*.{js,ts}' -c functions/.eslintrc.js