Skip to content

Commit

Permalink
Merge pull request #55 from suisin-deriv/suisin/DIEL_flow_change
Browse files Browse the repository at this point in the history
Suisin/diel flow change
  • Loading branch information
shaheer-deriv authored Jul 12, 2023
2 parents acb3ae2 + a841e28 commit 1ef7cc9
Show file tree
Hide file tree
Showing 514 changed files with 84,059 additions and 34,035 deletions.
7 changes: 7 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ commands:
- "packages/trader/node_modules"
- "packages/translations/node_modules"
- "packages/utils/node_modules"
- "packages/analytics/node_modules"
# VERIFY_CACHE_FOLDERS_END (DO NOT REMOVE)

build:
Expand Down Expand Up @@ -264,6 +265,9 @@ jobs:
- run:
name: "Check TypeScript for @deriv/utils"
command: npx tsc --project packages/utils/tsconfig.json -noEmit
- run:
name: "Check TypeScript for @deriv/analytics"
command: npx tsc --project packages/analytics/tsconfig.json -noEmit
- run:
name: "Check TypeScript for @deriv/stores"
command: npx tsc --project packages/stores/tsconfig.json -noEmit
Expand All @@ -276,6 +280,9 @@ jobs:
- run:
name: "Check tests for @deriv/utils"
command: bash ./scripts/check-tests.sh packages/utils/src
- run:
name: "Check tests for @deriv/analytics"
command: bash ./scripts/check-tests.sh packages/analytics/src
- build
- run:
name: "Run tests"
Expand Down
10 changes: 10 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,12 @@ module.exports = {
},
},
overrides: [
{
files: ['*.ts', '*.tsx'],
rules: {
'react/prop-types': 'off',
},
},
{
files: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'],
extends: ['plugin:testing-library/react'],
Expand Down Expand Up @@ -178,6 +184,10 @@ module.exports = {
version: 'detect',
},
'import/resolver': {
typescript: {
// use an array
project: 'packages/**/tsconfig.json',
},
node: {
extensions: ['.ts', '.tsx'],
moduleDirectory: ['src', 'node_modules'],
Expand Down
35 changes: 0 additions & 35 deletions .github/workflows/codecov.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
on: ["push", "pull_request"]

name: Coveralls

jobs:

build:
name: Reporter
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v3

- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x

- name: Bootstrap, Build, and make test-coverage
run: |
npm ci
npm run bootstrap
npm run build:all
JEST_MAX_WORKERS=3 npm run test:jest
- name: Coveralls
uses: coverallsapp/github-action@v2
13 changes: 5 additions & 8 deletions .github/workflows/merge_and_release_to_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ permissions:
on:
workflow_dispatch:
inputs:
tag:
description: "Tag"
required: true
release_tag_task_url:
description: "Release Tag task URL(e.g. https://app.clickup.com/t/1**/W*-*)"
required: true
skip_circleci_checks:
description: "Skip checking CircleCI workflow"
type: boolean
Expand Down Expand Up @@ -35,13 +35,10 @@ jobs:
run: |
sleep 10
- name: Release issues in Deriv.app
uses: binary-com/fe-toolbox@production_V20230615_0
uses: binary-com/fe-toolbox@v0.0.2
with:
tag: ${{ inputs.tag }}
release_tag_task_url: ${{ inputs.release_tag_task_url }}
platform: 'Deriv.app'
list_id: ${{ secrets.LIST_ID }}
release_tags_list_id: ${{ secrets.RELEASE_TAGS_LIST_ID }}
regression_testing_template_id: ${{ secrets.REGRESSION_TESTING_TEMPLATE_ID }}
config_path: ./.github/workflows/automationrc.json
skip_circleci_checks: ${{ inputs.skip_circleci_checks }}
skip_pending_checks: ${{ inputs.skip_pending_checks }}
Expand Down
2 changes: 1 addition & 1 deletion .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"*.{js,jsx,ts,tsx,md,html,css,scss}": "prettier --write",
"*.{js,jsx,ts,tsx}": "npx eslint --fix",
"*.{js,jsx,ts,tsx}": "eslint --fix --config .eslintrc.js",
"*.{css,scss}": "npx stylelint --fix"
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This repository contains the various platforms of the Deriv application.
[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lerna.js.org/)
![Sonar Tech Debt](https://img.shields.io/sonar/tech_debt/binary-com_deriv-app?server=https%3A%2F%2Fsonarcloud.io)
![Sonar Violations (short format)](https://img.shields.io/sonar/violations/binary-com_deriv-app?server=https%3A%2F%2Fsonarcloud.io)
[![codecov](https://codecov.io/gh/binary-com/deriv-app/branch/dev/graph/badge.svg?token=LClg2rlZ4z)](https://codecov.io/gh/binary-com/deriv-app)
[![Coverage Status](https://coveralls.io/repos/github/binary-com/deriv-app/badge.svg?branch=master)](https://coveralls.io/github/binary-com/deriv-app?branch=master)

**In this document**:

Expand Down
Loading

0 comments on commit 1ef7cc9

Please sign in to comment.