Skip to content

Improved API starting times #4

Improved API starting times

Improved API starting times #4

Workflow file for this run

name: CI
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.20.0]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
- name: Cache dependencies
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-
- name: Switch to Dev
run: yarn env:switch:dev
- name: Install dependencies
run: yarn install
- name: Run typescript and linter
run: yarn tsc && yarn lint
- name: Run formatter
run: yarn format
- name: Run update shared-deps
run: yarn update:shared-deps
- name: Run tests
env:
NODE_OPTIONS: "--max-old-space-size=20480"
run: yarn test:ci