forked from MetaMask/metamask-extension
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from poanetwork/develop
Develop
- Loading branch information
Showing
151 changed files
with
33,052 additions
and
17,208 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
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 |
---|---|---|
@@ -0,0 +1,104 @@ | ||
name: Nifty Wallet CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
|
||
jobs: | ||
prep-deps-npm: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '10.x' | ||
- name: Install npm 6 + deps via npm | ||
run: | | ||
sudo npm install -g npm@6.14.5 && npm install --no-save | ||
test-lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '10.x' | ||
- name: Install npm 6 + deps via npm | ||
run: | | ||
sudo npm install -g npm@6.14.5 && npm install --no-save | ||
- name: lint | ||
run: npm run lint | ||
|
||
test-unit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '10.x' | ||
- name: Install npm 6 + deps via npm | ||
run: | | ||
sudo npm install -g npm@6.14.5 && npm install --no-save | ||
- name: test:coverage | ||
run: npm run test:coverage | ||
|
||
# test-integration-flat-chrome: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v1 | ||
# - name: Use Node.js ${{ matrix.node-version }} | ||
# uses: actions/setup-node@v1 | ||
# with: | ||
# node-version: '10.x' | ||
# - name: Install npm 6 + deps via npm | ||
# run: | | ||
# sudo npm install -g npm@6.14.5 && npm install --no-save | ||
# - name: Enable Chrome | ||
# run: | | ||
# sudo apt-get update | ||
# sudo apt-get install xvfb | ||
# xvfb-run --auto-servernum npm test | ||
# - name: test:integration:flat | ||
# run: npm run test:flat | ||
# env: | ||
# browsers: '["Chrome"]' | ||
|
||
# test-e2e-chrome: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v1 | ||
# - name: Use Node.js ${{ matrix.node-version }} | ||
# uses: actions/setup-node@v1 | ||
# with: | ||
# node-version: '10.x' | ||
# - name: Install npm 6 + deps via npm | ||
# run: | | ||
# sudo npm install -g npm@6.14.5 && npm install --no-save | ||
# - name: Enable Chrome | ||
# run: | | ||
# sudo apt-get update | ||
# sudo apt-get install xvfb | ||
# xvfb-run --auto-servernum npm test | ||
# - name: build:dist | ||
# run: NODE_ENV='production' npm run dist | ||
# - name: build:debug | ||
# run: find dist/ -type f -exec md5sum {} \; | sort -k 2 | ||
# - name: Install Chromedriver latest version | ||
# run: | | ||
# # sudo apt-get update | ||
# # sudo apt-get install lsb-release libappindicator3-1 | ||
# curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | ||
# sudo dpkg -i google-chrome.deb | ||
# sudo sed -i 's|HERE/chrome"|HERE/chrome" --no-sandbox|g' /opt/google/chrome/google-chrome | ||
# rm google-chrome.deb | ||
# - name: test:e2e:chrome | ||
# run: npm run test:e2e:chrome |
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 |
---|---|---|
|
@@ -45,3 +45,5 @@ notes.txt | |
|
||
.coveralls.yml | ||
.nyc_output | ||
|
||
.niftywalletrc |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
; Extra environment variables | ||
ETH_MAINNET_RPC_ENDPOINT=00000000000 | ||
INFURA_PROJECT_ID=00000000000 |
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 |
---|---|---|
|
@@ -4,7 +4,6 @@ dist/ | |
docs/ | ||
fonts/ | ||
images/ | ||
mascara/ | ||
node_modules/ | ||
notices/ | ||
test/ |
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
Oops, something went wrong.