forked from MetaMask/metamask-extension
-
Notifications
You must be signed in to change notification settings - Fork 44
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 #428 from poanetwork/develop
NW release 5.2.0
- Loading branch information
Showing
20 changed files
with
819 additions
and
351 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
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
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
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
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.