Skip to content

Commit c9216ca

Browse files
committed
test build
1 parent be1cbcd commit c9216ca

File tree

2 files changed

+5
-20
lines changed

2 files changed

+5
-20
lines changed

.github/actions/install-all-build-libs/action.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,7 @@ runs:
99
uses: actions/setup-node@v4.0.4
1010
with:
1111
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
2512

2613
- name: Install dependencies for root package.js
2714
shell: bash
28-
run: yarn install --frozen-lockfile
29-
30-
# run: yarn install
15+
run: yarn install --frozen-lockfile --network-timeout 1000000

.github/e2e/e2e-results.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
const fs = require('fs');
22

33
let parallelNodeInfo = '';
4-
const totalNodes = parseInt(process.env.CIRCLE_NODE_TOTAL, 10);
4+
const totalNodes = 4;
55
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})`
77
}
88

99
const file = fs.readdirSync('tests/e2e/mochawesome-report').find(file => file.endsWith('-setup-report.json'))
1010
const appBuildType = process.env.APP_BUILD_TYPE || 'VSCode (Linux)'
1111
const results = {
1212
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>`,
1515
attachments: [],
1616
},
1717
};

0 commit comments

Comments
 (0)