Skip to content

Commit 56103de

Browse files
Merge pull request #370 from multiversx/development
🪐 v3.0.0 - Facelift
2 parents dff2732 + c18251f commit 56103de

File tree

266 files changed

+19488
-12914
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

266 files changed

+19488
-12914
lines changed

.github/workflows/deploy-devnet.yml

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,33 @@ on:
1010
jobs:
1111
build:
1212
runs-on: ubuntu-latest
13-
1413
steps:
14+
- name: Fix permissions
15+
run: |
16+
sudo chown -R $USER:$USER ${{ github.workspace }}
17+
sudo chmod -R 755 ${{ github.workspace }}
18+
continue-on-error: true
1519
- uses: actions/checkout@v4
1620
with:
17-
ref: main
18-
- name: Use Node.js
21+
ref: ${{ github.ref }}
22+
clean: true
23+
if: ${{ !github.event.pull_request.draft }}
24+
- name: Set up Node.js
1925
uses: actions/setup-node@v4
2026
with:
21-
node-version: '18.x'
22-
- name: Setup yarn
23-
run: npm install -g yarn
24-
- run: yarn install
25-
- run: yarn build-devnet
27+
node-version: 22
28+
- name: Setup pnpm
29+
run: npm install -g pnpm
30+
- name: Install Dependencies
31+
uses: nick-fields/retry@v3
32+
env:
33+
PUPPETEER_SKIP_DOWNLOAD: true
34+
with:
35+
timeout_minutes: 120
36+
retry_on: error
37+
max_attempts: 2
38+
command: pnpm install
39+
- run: pnpm run build-devnet
2640
env:
2741
CI: false
2842
- name: Configure AWS Credentials

.github/workflows/deploy-integration.yml

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,31 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15+
- name: Fix permissions
16+
run: |
17+
sudo chown -R $USER:$USER ${{ github.workspace }}
18+
sudo chmod -R 755 ${{ github.workspace }}
19+
continue-on-error: true
1520
- uses: actions/checkout@v4
1621
with:
1722
ref: development
18-
- name: Use Node.js
23+
clean: true
24+
- name: Set up Node.js
1925
uses: actions/setup-node@v4
2026
with:
21-
node-version: '18.x'
22-
- name: Setup yarn
23-
run: npm install -g yarn
24-
- run: yarn install
25-
- run: yarn build-devnet
27+
node-version: 22
28+
- name: Setup pnpm
29+
run: npm install -g pnpm
30+
- name: Install Dependencies
31+
uses: nick-fields/retry@v3
32+
env:
33+
PUPPETEER_SKIP_DOWNLOAD: true
34+
with:
35+
timeout_minutes: 120
36+
retry_on: error
37+
max_attempts: 2
38+
command: pnpm install
39+
- run: pnpm run build-devnet
2640
env:
2741
CI: false
2842
- name: Configure AWS Credentials

.github/workflows/deploy-mainnet.yml

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,31 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15+
- name: Fix permissions
16+
run: |
17+
sudo chown -R $USER:$USER ${{ github.workspace }}
18+
sudo chmod -R 755 ${{ github.workspace }}
19+
continue-on-error: true
1520
- uses: actions/checkout@v4
1621
with:
1722
ref: main
18-
- name: Use Node.js
23+
clean: true
24+
- name: Set up Node.js
1925
uses: actions/setup-node@v4
2026
with:
21-
node-version: '18.x'
22-
- name: Setup yarn
23-
run: npm install -g yarn
24-
- run: yarn install
25-
- run: yarn build-mainnet
27+
node-version: 22
28+
- name: Setup pnpm
29+
run: npm install -g pnpm
30+
- name: Install Dependencies
31+
uses: nick-fields/retry@v3
32+
env:
33+
PUPPETEER_SKIP_DOWNLOAD: true
34+
with:
35+
timeout_minutes: 120
36+
retry_on: error
37+
max_attempts: 2
38+
command: pnpm install
39+
- run: pnpm run build-mainnet
2640
env:
2741
CI: false
2842
- name: Configure AWS Credentials

.github/workflows/deploy-next.yml

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,31 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
steps:
12+
- name: Fix permissions
13+
run: |
14+
sudo chown -R $USER:$USER ${{ github.workspace }}
15+
sudo chmod -R 755 ${{ github.workspace }}
16+
continue-on-error: true
1217
- uses: actions/checkout@v4
1318
with:
1419
ref: main
15-
- name: Use Node.js
20+
clean: true
21+
- name: Set up Node.js
1622
uses: actions/setup-node@v4
1723
with:
18-
node-version: '16.x'
19-
- name: Setup yarn
20-
run: npm install -g yarn
21-
- run: yarn install
22-
- run: yarn build-devnet
24+
node-version: 22
25+
- name: Setup pnpm
26+
run: npm install -g pnpm
27+
- name: Install Dependencies
28+
uses: nick-fields/retry@v3
29+
env:
30+
PUPPETEER_SKIP_DOWNLOAD: true
31+
with:
32+
timeout_minutes: 120
33+
retry_on: error
34+
max_attempts: 2
35+
command: pnpm install
36+
- run: pnpm run build-devnet
2337
env:
2438
CI: false
2539
- name: Configure AWS Credentials

.github/workflows/deploy-testnet.yml

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,31 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15+
- name: Fix permissions
16+
run: |
17+
sudo chown -R $USER:$USER ${{ github.workspace }}
18+
sudo chmod -R 755 ${{ github.workspace }}
19+
continue-on-error: true
1520
- uses: actions/checkout@v4
1621
with:
1722
ref: main
18-
- name: Use Node.js
23+
clean: true
24+
- name: Set up Node.js
1925
uses: actions/setup-node@v4
2026
with:
21-
node-version: '18.x'
22-
- name: Setup yarn
23-
run: npm install -g yarn
24-
- run: yarn install
25-
- run: yarn build-testnet
27+
node-version: 22
28+
- name: Setup pnpm
29+
run: npm install -g pnpm
30+
- name: Install Dependencies
31+
uses: nick-fields/retry@v3
32+
env:
33+
PUPPETEER_SKIP_DOWNLOAD: true
34+
with:
35+
timeout_minutes: 120
36+
retry_on: error
37+
max_attempts: 2
38+
command: pnpm install
39+
- run: pnpm run build-testnet
2640
env:
2741
CI: false
2842
- name: Configure AWS Credentials

.github/workflows/night-e2e-workern.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.github/workflows/playwright.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/pre-merge-e2e-tests.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: Playwright merge E2E Tests
2+
on:
3+
pull_request:
4+
branches: [main]
5+
workflow_dispatch:
6+
jobs:
7+
Slack-Notification:
8+
runs-on: runner-dapp
9+
steps:
10+
- name: Slack Notification
11+
uses: rtCamp/action-slack-notify@master
12+
env:
13+
if: always()
14+
SLACK_ICON_EMOJI: ':robot_face:'
15+
SLACK_USERNAME: Playwright Bot
16+
SLACK_MESSAGE: E2E merge tests are now running. A new notification will be sent when completed.
17+
SLACK_TITLE : 'Playwright E2E Template RUN'
18+
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
19+
E2E-RUN:
20+
runs-on: runner-dapp
21+
needs: Slack-Notification
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v4
25+
- name: Set up Node.js
26+
uses: actions/setup-node@v4
27+
with:
28+
node-version: 22
29+
- name: Setup pnpm
30+
run: npm install -g pnpm
31+
- name: Install Dependencies
32+
uses: nick-fields/retry@v3
33+
with:
34+
timeout_minutes: 120
35+
retry_on: error
36+
max_attempts: 2
37+
command: pnpm install
38+
- name: Install Playwright Browsers
39+
run: pnpm exec playwright install --with-deps
40+
- name: Run Playwright E2E Tests
41+
run: pnpm run run-playwright-test
42+
- name: Upload Playwright test report
43+
uses: actions/upload-artifact@v4
44+
if: ${{ !cancelled() }}
45+
with:
46+
name: playwright-report
47+
path: playwright-report/
48+
retention-days: 1
49+
- name: Slack Success Notification
50+
uses: rtCamp/action-slack-notify@master
51+
if: success()
52+
env:
53+
SLACK_ICON_EMOJI: ':white_check_mark:'
54+
SLACK_USERNAME: Playwright Bot
55+
SLACK_MESSAGE: 'E2E merge Tests completed successfully! All tests passed. 📊 Test Report: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
56+
SLACK_TITLE: 'Playwright E2E Tests - SUCCESS'
57+
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
58+
- name: Slack Failure Notification
59+
uses: rtCamp/action-slack-notify@master
60+
if: failure()
61+
env:
62+
SLACK_ICON_EMOJI: ':red_circle:'
63+
SLACK_USERNAME: Playwright Bot
64+
SLACK_MESSAGE: 'E2E merge Tests failed. Please check the logs for details. 📊 Test Report: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
65+
SLACK_TITLE: 'Playwright E2E Tests - FAILED'
66+
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
67+

0 commit comments

Comments
 (0)