Skip to content

[IOPLT-346] Creating elastic search utility methods #114

[IOPLT-346] Creating elastic search utility methods

[IOPLT-346] Creating elastic search utility methods #114

Workflow file for this run

name: 'Code Review'
on:
push:
branches: ['main']
paths:
- apps/**
- packages/**
- package.json
pull_request:
types: [opened, synchronize]
paths:
- src/**
- package.json
workflow_dispatch: {}
jobs:
code_review:
timeout-minutes: 10 # temp fix
runs-on: ubuntu-latest
environment: IntegrationTests
steps:
- name: Check out code
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab #v3.5.2
with:
fetch-depth: 2
- name: Setup Node.js environment
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c #v3.6.0
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable
- name: Cache turbo build setup
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 #v3.3.1
with:
path: node_modules/.cache/turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- name: 'Code review'
run: yarn run code-review
- name: Set env
run: |
echo "NODE_TLS_REJECT_UNAUTHORIZED=0" >> $GITHUB_ENV
echo "COSMOSDB_NAME=${{github.run_id}}" >> $GITHUB_ENV
echo "COSMOSDB_CONNECTION_STRING=${{secrets.COSMOSDB_CONNECTION_STRING}}" >> $GITHUB_ENV
- name: System tests
run: |
cd __integrations__
yarn install --immutable
yarn test