Skip to content

Commit

Permalink
Switch to Node.js v18 before we can upgrade @PolkaDot dependencies
Browse files Browse the repository at this point in the history
@polkadot/keyring@12.6.1: The engine "node" is incompatible with this module. Expected version ">=18". Got "16.20.2"
  • Loading branch information
atodorov committed Jan 8, 2024
1 parent fe5f85b commit a158e5d
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18
- run: npm install -g yarn

- name: Install creditcoin-js & creditcoin-cli
Expand Down Expand Up @@ -313,7 +313,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18
- run: npm install -g yarn

- name: Execute tests
Expand Down Expand Up @@ -393,7 +393,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18
- run: npm install -g yarn

- name: Install creditcoin-js & creditcoin-cli
Expand Down Expand Up @@ -591,7 +591,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18
- run: npm install -g yarn

- name: Prepare for integration tests
Expand Down Expand Up @@ -675,7 +675,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18
- run: npm install -g yarn

- name: Run tools
Expand All @@ -701,7 +701,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18
- run: npm install -g yarn

- name: Run tools
Expand All @@ -727,7 +727,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18
- run: npm install -g yarn

- name: Run tools
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/extrinsics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install Node Dependencies
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 18
- run: npm install --ignore-scripts -g @polkadot/metadata-cmp

- name: Set-Up
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18
- run: npm install -g yarn

- name: Figure out tag name
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/runtime-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18
- run: npm install -g yarn

- name: Prepare for integration tests
Expand Down Expand Up @@ -477,7 +477,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18
- run: npm install -g yarn

- name: Prepare for integration tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Install JS Dependencies
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18
- run: |
npm install -g yarn
pushd ./creditcoin-js && yarn install && yarn pack && popd
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y --no-install-recommends ca-certificates curl && \
update-ca-certificates && \
curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && \
curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
apt-get install -y nodejs --no-install-recommends && \
npm install -g yarn

Expand Down

0 comments on commit a158e5d

Please sign in to comment.