File tree Expand file tree Collapse file tree 2 files changed +5
-20
lines changed
actions/install-all-build-libs Expand file tree Collapse file tree 2 files changed +5
-20
lines changed Original file line number Diff line number Diff line change 9
9
uses : actions/setup-node@v4.0.4
10
10
with :
11
11
node-version : ' 20.15'
12
- # disable cache for windows
13
- # https://github.com/actions/setup-node/issues/975
14
- cache : ${{ runner.os != 'Windows' && 'yarn' || '' }}
15
- cache-dependency-path : ${{ runner.os != 'Windows' && '**/yarn.lock' || '' }}
16
-
17
- # - name: Setup Python
18
- # uses: actions/setup-python@v5
19
- # with:
20
- # python-version: '3.11'
21
-
22
- # - name: Install TypeScript
23
- # shell: bash
24
- # run: yarn global add typescript
25
12
26
13
- name : Install dependencies for root package.js
27
14
shell : bash
28
- run : yarn install --frozen-lockfile
29
-
30
- # run: yarn install
15
+ run : yarn install --frozen-lockfile --network-timeout 1000000
Original file line number Diff line number Diff line change 1
1
const fs = require ( 'fs' ) ;
2
2
3
3
let parallelNodeInfo = '' ;
4
- const totalNodes = parseInt ( process . env . CIRCLE_NODE_TOTAL , 10 ) ;
4
+ const totalNodes = 4 ;
5
5
if ( totalNodes > 1 ) {
6
- parallelNodeInfo = ` (node: ${ parseInt ( process . env . CIRCLE_NODE_INDEX , 10 ) + 1 } /${ totalNodes } )`
6
+ parallelNodeInfo = ` (node: ${ parseInt ( process . env . NODE_INDEX , 10 ) + 1 } /${ totalNodes } )`
7
7
}
8
8
9
9
const file = fs . readdirSync ( 'tests/e2e/mochawesome-report' ) . find ( file => file . endsWith ( '-setup-report.json' ) )
10
10
const appBuildType = process . env . APP_BUILD_TYPE || 'VSCode (Linux)'
11
11
const results = {
12
12
message : {
13
- text : `*E2ETest - ${ appBuildType } ${ parallelNodeInfo } * (Branch: *${ process . env . CIRCLE_BRANCH } *)` +
14
- `\n<https://app.circleci. com/pipelines/workflows/ ${ process . env . CIRCLE_WORKFLOW_ID } |View on CircleCI >` ,
13
+ text : `*E2ETest - ${ appBuildType } ${ parallelNodeInfo } * (Branch: *${ process . env . GITHUB_REF_NAME } *)` +
14
+ `\n<https://github. com/RedisInsight/RedisInsight/actions/runs/ ${ process . env . GITHUB_RUN_ID } |View on Github Actions >` ,
15
15
attachments : [ ] ,
16
16
} ,
17
17
} ;
You can’t perform that action at this time.
0 commit comments