Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update NPM dependencies to match Node v14.x #466

Merged
merged 1 commit into from
Sep 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 42 additions & 20 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,54 +14,74 @@ jobs:
prep-deps-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Reconfigure git to use HTTP authentication
run: >
git config --global url."https://github.com/".insteadOf
ssh://git@github.com/
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: '10.x'
- name: Install npm 6 + deps via npm
node-version: '14.x'
- name: Install npm 7 + deps via npm
run: |
sudo npm install -g npm@6.14.5 && npm install --no-save
sudo npm install -g npm@7.22.0 && npm install --no-save --legacy-peer-deps

test-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Reconfigure git to use HTTP authentication
run: >
git config --global url."https://github.com/".insteadOf
ssh://git@github.com/
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: '10.x'
- name: Install npm 6 + deps via npm
node-version: '14.x'
- name: Install npm 7 + deps via npm
run: |
sudo npm install -g npm@6.14.5 && npm install --no-save
sudo npm install -g npm@7.22.0 && npm install --no-save --legacy-peer-deps
- name: lint
run: npm run lint

test-unit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Reconfigure git to use HTTP authentication
run: >
git config --global url."https://github.com/".insteadOf
ssh://git@github.com/
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: '10.x'
- name: Install npm 6 + deps via npm
node-version: '14.x'
- name: Install npm 7 + deps via npm
run: |
sudo npm install -g npm@6.14.5 && npm install --no-save
sudo npm install -g npm@7.22.0 && npm install --no-save --legacy-peer-deps
- name: test:coverage
run: npm run test:coverage

# test-integration-flat-chrome:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v1
# - uses: actions/checkout@v2
# with:
# persist-credentials: false
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v1
# with:
# node-version: '10.x'
# - name: Install npm 6 + deps via npm
# node-version: '14.x'
# - name: Install npm 7 + deps via npm
# run: |
# sudo npm install -g npm@6.14.5 && npm install --no-save
# sudo npm install -g npm@7.22.0 && npm install --no-save
# - name: Enable Chrome
# run: |
# sudo apt-get update
Expand All @@ -75,14 +95,16 @@ jobs:
# test-e2e-chrome:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v1
# - uses: actions/checkout@v2
# with:
# persist-credentials: false
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v1
# with:
# node-version: '10.x'
# - name: Install npm 6 + deps via npm
# node-version: '14.x'
# - name: Install npm 7 + deps via npm
# run: |
# sudo npm install -g npm@6.14.5 && npm install --no-save
# sudo npm install -g npm@7.22.0 && npm install --no-save
# - name: Enable Chrome
# run: |
# sudo apt-get update
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Current Master

- [#466](https://github.com/poanetwork/nifty-wallet/pull/466) - Update NPM dependencies to match Node v14.x
- [#403](https://github.com/poanetwork/nifty-wallet/pull/403) - Add D'CENT hardware wallet support

## 5.2.5 Fri May 21 2021

- [#459](https://github.com/poanetwork/nifty-wallet/pull/459) - (Fix) Phishing detection
Expand Down
Loading