Update dependency @types/lodash to v4.14.197 #2013
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: PR check | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
pr-check: | |
runs-on: ubuntu-latest | |
container: node:18-slim | |
services: | |
postgres: | |
image: postgres:14-alpine | |
env: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: postgres | |
POSTGRES_DB: postgres | |
options: >- | |
--health-cmd pg_isready | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
steps: | |
- name: Checkout repository code | |
uses: actions/checkout@v3 | |
- name: Install apt deps | |
run: apt-get update && apt-get install -y openssl | |
- name: Copy yarn.lock file | |
run: cp yarn.lock yarn.lock.orig | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Generate prisma client | |
run: yarn run prisma:generate | |
- name: Test the code | |
run: yarn run test | |
env: | |
DATABASE_URL: postgresql://postgres:postgres@postgres:5432/frinx | |
HOST: localhost | |
PORT: 8001 | |
UNICONFIG_API_PROTOCOL: http | |
UNICONFIG_API_PORT: 4000 | |
UNICONFIG_LIST_URL: http://localhost:4000/static/list/uniconfig | |
X_TENANT_ID: frinx | |
TOPOLOGY_ENABLED: false | |
SHELL_HOST: 10.19.0.12 | |
- name: Check code formatting | |
run: yarn run formatter:check | |
- name: Run eslint check | |
run: yarn run lint | |
- name: Run TS typecheck | |
run: yarn run type-check |