chore(deps): bump semver from 5.7.1 to 5.7.2 #1184
Workflow file for this run
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: CI / build & test | |
on: | |
push: | |
branches: [dev] | |
pull_request: | |
branches: [dev, main] | |
env: | |
SENDGRID_API_KEY: ${{ secrets.SENDGRID_API_KEY }} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
strategy: | |
fail-fast: true | |
matrix: | |
node-version: [14.x] | |
steps: | |
- name: Setup node | |
uses: luke-h1/setup-node@v2 | |
with: | |
node-version: 14 | |
- name: Checkout | |
uses: luke-h1/checkout@v2 | |
- name: Use latest npm version | |
run: npm i -g npm@latest | |
- name: Install dependencies | |
run: yarn | |
- name: start docker DBs | |
run: cd src/api && docker-compose up -d && cd ../../ | |
- name: format:check | |
run: yarn format:check | |
- name: format | |
run: yarn format | |
- name: lint | |
run: yarn lint | |
- name: tsc | |
run: yarn tsc | |
- name: build backend | |
run: yarn workspace @storify/api build | |
- name: build common | |
run: yarn workspace @storify/common build | |
- name: build frontend | |
run: yarn workspace @storify/frontend build | |
- name: Backend unit tests | |
run: yarn workspace @storify/api test |