-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
117 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,48 @@ | ||
name: Verify Web Examples | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-22.04] | ||
arch: [amd64] | ||
steps: | ||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
|
||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Override config/ci.json | ||
run: | | ||
echo '{"cosmos": {"enabled": false}}' > config/ci.json | ||
- name: Install Dependencies for Cli Examples | ||
run: npm ci | ||
|
||
- name: Compile EVM Smart Contracts | ||
run: | | ||
npm run build | ||
- name: Create .env file and Generate Chains Config | ||
run: | | ||
# Dummy private key created for testing purpose only, it is not secret | ||
npm run setup | ||
NODE_ENV=ci nohup npm run start & | ||
sleep 5 | ||
- name: Setup Web Examples | ||
run: | | ||
cd examples-web | ||
npm ci | ||
npm run setup | ||
- name: Deploy | ||
run: | | ||
cd examples-web | ||
npm run deploy | ||
#name: Verify Web Examples | ||
# | ||
#on: pull_request | ||
# | ||
#jobs: | ||
# test: | ||
# runs-on: ${{ matrix.os }} | ||
# strategy: | ||
# matrix: | ||
# os: [ubuntu-22.04] | ||
# arch: [amd64] | ||
# steps: | ||
# - name: Setup Node | ||
# uses: actions/setup-node@v3 | ||
# with: | ||
# node-version: 18 | ||
# | ||
# - name: Checkout code | ||
# uses: actions/checkout@v3 | ||
# | ||
# - name: Override config/ci.json | ||
# run: | | ||
# echo '{"cosmos": {"enabled": false}}' > config/ci.json | ||
# | ||
# - name: Install Dependencies for Cli Examples | ||
# run: npm ci | ||
# | ||
# - name: Compile EVM Smart Contracts | ||
# run: | | ||
# npm run build | ||
# | ||
# - name: Create .env file and Generate Chains Config | ||
# run: | | ||
# # Dummy private key created for testing purpose only, it is not secret | ||
# npm run setup | ||
# NODE_ENV=ci nohup npm run start & | ||
# sleep 5 | ||
# | ||
# - name: Setup Web Examples | ||
# run: | | ||
# cd examples-web | ||
# npm ci | ||
# npm run setup | ||
# | ||
# - name: Deploy | ||
# run: | | ||
# cd examples-web | ||
# npm run deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,6 @@ | |
"enabled": false | ||
}, | ||
"multiversx": { | ||
"enabled": true | ||
"enabled": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters