Skip to content

Commit

Permalink
fix & update nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
BuddyGlas committed Apr 1, 2024
1 parent 8f1d8b1 commit 3c17d10
Show file tree
Hide file tree
Showing 17 changed files with 21 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .docker/Dockerfile-try-runtime.j2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ===== Rust builder =====
FROM uniquenetwork/services:latest as rust-builder

ENV RUST_TOOLCHAIN $RUST_TOOLCHAIN
ENV RUST_TOOLCHAIN {{ RUST_TOOLCHAIN }}
ENV CARGO_HOME="/cargo-home"
ENV PATH="/cargo-home/bin:$PATH"
ENV TZ=UTC
Expand Down
2 changes: 1 addition & 1 deletion .docker/docker-compose.tmp-dev.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
args:
- "RUST_TOOLCHAIN={{ RUST_TOOLCHAIN }}"
- "NETWORK={{ NETWORK }}"
- "GIT_PRIVATE_CREDENTIALS"={{ GIT_PRIVATE_CREDENTIALS }}
- "GIT_PRIVATE_CREDENTIALS={{ GIT_PRIVATE_CREDENTIALS }}"
context: ../
dockerfile: .docker/Dockerfile-chain-dev
image: node-dev
Expand Down
2 changes: 1 addition & 1 deletion .docker/docker-compose.tmp-unit.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
args:
- "RUST_TOOLCHAIN={{ RUST_TOOLCHAIN }}"
- "NETWORK={{ NETWORK }}"
- "GIT_PRIVATE_CREDENTIALS"={{ GIT_PRIVATE_CREDENTIALS }}
- "GIT_PRIVATE_CREDENTIALS={{ GIT_PRIVATE_CREDENTIALS }}"
image: node-dev
container_name: node-dev
logging:
Expand Down
10 changes: 4 additions & 6 deletions .env
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
RUST_TOOLCHAIN=nightly-2023-05-22
POLKADOT_LAUNCH_BRANCH=unique-network
RELAY_CHAIN_TYPE=westend
CHAINQL=v0.4.1
DESTINATION_SPEC_VERSION=v942057
Expand All @@ -9,25 +8,24 @@ STATEMINT_BUILD_BRANCH=release-parachains-v9430
ACALA_BUILD_BRANCH=2.21.0
MOONBEAM_BUILD_BRANCH=runtime-2500
ASTAR_BUILD_BRANCH=v5.18.0
UNIQUE_MAINNET_BRANCH=release-v10010063
UNIQUE_MAINNET_BRANCH=release-v10010070
UNIQUE_REPLICA_FROM=wss://ws.unique.network:443
POLKADEX_BUILD_BRANCH=v1.1.0


KUSAMA_MAINNET_BRANCH=release-v1.0.0
STATEMINE_BUILD_BRANCH=release-parachains-v9430
KARURA_BUILD_BRANCH=xnft-poc
MOONRIVER_BUILD_BRANCH=runtime-2500
SHIDEN_BUILD_BRANCH=v5.18.0
QUARTZ_MAINNET_BRANCH=release-v10010063
QUARTZ_MAINNET_BRANCH=release-v10010070
QUARTZ_REPLICA_FROM=wss://ws-quartz.unique.network:443

UNIQUEWEST_MAINNET_BRANCH=release-v1.0.0
WESTMINT_BUILD_BRANCH=parachains-v9430
OPAL_MAINNET_BRANCH=release-v10010063
OPAL_MAINNET_BRANCH=release-v10010070
OPAL_REPLICA_FROM=wss://ws-opal.unique.network:443

UNIQUEEAST_MAINNET_BRANCH=release-v1.0.0
SAPPHIRE_MAINNET_BRANCH=release-v10010063
SAPPHIRE_MAINNET_BRANCH=release-v10010070
SAPPHIRE_REPLICA_FROM=wss://ws-sapphire.unique.network:443

2 changes: 1 addition & 1 deletion .github/workflows/codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
ref: ${{ github.head_ref }}
- uses: actions/[email protected]
with:
node-version: 18
node-version: 20
- name: Install modules
run: cd js-packages && yarn
- name: Run ESLint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/collator-selection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:

- uses: actions/[email protected]
with:
node-version: 18
node-version: 20

- name: Install baedeker
uses: UniqueNetwork/baedeker-action/setup@built
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/forkless-update-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:

- uses: actions/[email protected]
with:
node-version: 18
node-version: 20

- name: Install baedeker
uses: UniqueNetwork/baedeker-action/setup@built
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/forkless-update-nodata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ jobs:

- uses: actions/[email protected]
with:
node-version: 18
node-version: 20

- name: Install baedeker
uses: UniqueNetwork/baedeker-action/setup@built
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/governance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:

- uses: actions/[email protected]
with:
node-version: 18
node-version: 20

- name: Run tests
working-directory: js-packages/tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/make-bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20

- name: RUN benchmarking
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/market-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:

- uses: actions/[email protected]
with:
node-version: 18
node-version: 20

- name: Setup TypeScript
working-directory: qa-tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/node-only-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ jobs:

- uses: actions/[email protected]
with:
node-version: 18
node-version: 20

- name: Install baedeker
uses: UniqueNetwork/baedeker-action/setup@built
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/polkadot-types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:

- uses: actions/[email protected]
with:
node-version: 18
node-version: 20

# - name: Install jq
# run: sudo apt install jq -y
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/try-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ jobs:

- uses: actions/[email protected]
with:
node-version: 18
node-version: 20

- name: Log in to Docker Hub
uses: docker/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/xcm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ jobs:
docker build --file .docker/Dockerfile-unique \
--build-arg RUNTIME_FEATURES=${{ matrix.runtime_features }} \
--build-arg RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }} \
--build-arg GIT_PRIVATE_CREDENTIALS=${{ secrets.GIT_PRIVATE_CREDENTIALS}} \
--build-arg GIT_PRIVATE_CREDENTIALS=${{ secrets.GIT_PRIVATE_CREDENTIALS }} \
--tag uniquenetwork/ci-xcm-local:${{ matrix.network }}-${{ env.REF_SLUG }}-${{ env.BUILD_SHA }} \
.
Expand All @@ -294,7 +294,7 @@ jobs:

- uses: actions/[email protected]
with:
node-version: 18
node-version: 20

- name: Install baedeker
uses: UniqueNetwork/baedeker-action/setup@built
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/xnft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ jobs:

- uses: actions/[email protected]
with:
node-version: 18
node-version: 20

- name: Clone xnft-tests
run: git clone https://github.com/UniqueNetwork/xnft-tests.git
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/yarn-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:

- uses: actions/[email protected]
with:
node-version: 18
node-version: 20

- name: Run tests
working-directory: js-packages/tests
Expand Down

0 comments on commit 3c17d10

Please sign in to comment.