Skip to content

Bump version and Disable cse and ship crawler (#496) #339

Bump version and Disable cse and ship crawler (#496)

Bump version and Disable cse and ship crawler (#496) #339

Workflow file for this run

name: Jest CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 12.x, 15.x ]
services:
mysql:
image: mysql:8
env:
MYSQL_DATABASE: github_actions
MYSQL_ROOT_PASSWORD: password
options: >-
--health-cmd "mysqladmin ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 3306:3306
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Migrate DB
run: ./node_modules/.bin/typeorm migration:run -f dist/src/ormconfig.js
env:
NODE_ENV: ci
- name: Test
run: npm run test
env:
NODE_ENV: ci
FIREBASE_PROJECT_ID: ${{secrets.FIREBASE_PROJECT_ID}}
FIREBASE_PRIVATE_KEY: ${{secrets.FIREBASE_PRIVATE_KEY}}
FIREBASE_CLIENT_EMAIL: ${{secrets.FIREBASE_CLIENT_EMAIL}}