From a1abc8f780e9b6ef618ccbe46e2764326e69fe3a Mon Sep 17 00:00:00 2001 From: Kaspar Kallas Date: Tue, 30 Apr 2024 17:32:12 +0300 Subject: [PATCH] modernize and clean-up deps && ci --- .github/workflows/aw-subgraph-ci-goldsky.yml | 11 +++++---- .github/workflows/aw-subgraph-ci.yml | 8 +++---- .github/workflows/fs-subgraph-ci-goldsky.yml | 11 +++++---- .github/workflows/fs-subgraph-ci.yml | 8 +++---- .github/workflows/vs-subgraph-ci-goldsky.yml | 9 ++++---- .github/workflows/vs-subgraph-ci.yml | 8 +++---- package.json | 2 +- pnpm-lock.yaml | 8 +++---- subgraphs/flow-scheduler/package.json | 6 ++--- subgraphs/flow-scheduler/pnpm-lock.yaml | 24 ++++++++++---------- subgraphs/vesting-scheduler/package.json | 6 ++--- subgraphs/vesting-scheduler/pnpm-lock.yaml | 24 ++++++++++---------- subgraphs/wrap-scheduler/package.json | 6 ++--- subgraphs/wrap-scheduler/pnpm-lock.yaml | 24 ++++++++++---------- 14 files changed, 79 insertions(+), 76 deletions(-) diff --git a/.github/workflows/aw-subgraph-ci-goldsky.yml b/.github/workflows/aw-subgraph-ci-goldsky.yml index 050016a..3b1349f 100644 --- a/.github/workflows/aw-subgraph-ci-goldsky.yml +++ b/.github/workflows/aw-subgraph-ci-goldsky.yml @@ -1,4 +1,4 @@ -name: Deploy Superfluid WrapScheduler Subgraphs +name: Deploy WrapScheduler Subgraphs (Goldsky) on: workflow_dispatch: @@ -15,6 +15,7 @@ jobs: run: working-directory: subgraphs/wrap-scheduler strategy: + fail-fast: false matrix: networks: [ @@ -28,12 +29,12 @@ jobs: "optimism-sepolia", ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: 18 - - uses: pnpm/action-setup@v2 + node-version: 20 + - uses: pnpm/action-setup@v3 with: version: 8 - name: Install diff --git a/.github/workflows/aw-subgraph-ci.yml b/.github/workflows/aw-subgraph-ci.yml index 316c710..052671c 100644 --- a/.github/workflows/aw-subgraph-ci.yml +++ b/.github/workflows/aw-subgraph-ci.yml @@ -18,12 +18,12 @@ jobs: matrix: networks: ["avalanche-c", "arbitrum-one", "bsc-mainnet", "eth-mainnet", "xdai-mainnet", "optimism-mainnet", "polygon-mainnet"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: 18 - - uses: pnpm/action-setup@v2 + node-version: 20 + - uses: pnpm/action-setup@v3 with: version: 8 - name: Install diff --git a/.github/workflows/fs-subgraph-ci-goldsky.yml b/.github/workflows/fs-subgraph-ci-goldsky.yml index 5e60c7c..b63dcb0 100644 --- a/.github/workflows/fs-subgraph-ci-goldsky.yml +++ b/.github/workflows/fs-subgraph-ci-goldsky.yml @@ -1,4 +1,4 @@ -name: Deploy Superfluid FlowScheduler Subgraphs (Goldsky) +name: Deploy FlowScheduler Subgraphs (Goldsky) on: workflow_dispatch: @@ -15,6 +15,7 @@ jobs: run: working-directory: subgraphs/flow-scheduler strategy: + fail-fast: false matrix: networks: [ @@ -28,12 +29,12 @@ jobs: "optimism-sepolia", ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: 18 - - uses: pnpm/action-setup@v2 + node-version: 20 + - uses: pnpm/action-setup@v3 with: version: 8 - name: Install diff --git a/.github/workflows/fs-subgraph-ci.yml b/.github/workflows/fs-subgraph-ci.yml index 3fe1c71..0c7ddb0 100644 --- a/.github/workflows/fs-subgraph-ci.yml +++ b/.github/workflows/fs-subgraph-ci.yml @@ -18,12 +18,12 @@ jobs: matrix: networks: ["avalanche-c", "arbitrum-one", "bsc-mainnet", "eth-mainnet", "xdai-mainnet", "optimism-mainnet", "polygon-mainnet"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: 18 - - uses: pnpm/action-setup@v2 + node-version: 20 + - uses: pnpm/action-setup@v3 with: version: 8 - name: Install diff --git a/.github/workflows/vs-subgraph-ci-goldsky.yml b/.github/workflows/vs-subgraph-ci-goldsky.yml index 21d1bb8..fe7f6f7 100644 --- a/.github/workflows/vs-subgraph-ci-goldsky.yml +++ b/.github/workflows/vs-subgraph-ci-goldsky.yml @@ -15,6 +15,7 @@ jobs: run: working-directory: subgraphs/vesting-scheduler strategy: + fail-fast: false matrix: networks: [ @@ -28,12 +29,12 @@ jobs: "optimism-sepolia", ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: 18 - - uses: pnpm/action-setup@v2 + node-version: 20 + - uses: pnpm/action-setup@v3 with: version: 8 - name: Install diff --git a/.github/workflows/vs-subgraph-ci.yml b/.github/workflows/vs-subgraph-ci.yml index 4572df6..a3e1425 100644 --- a/.github/workflows/vs-subgraph-ci.yml +++ b/.github/workflows/vs-subgraph-ci.yml @@ -18,12 +18,12 @@ jobs: matrix: networks: ["avalanche-c", "arbitrum-one", "bsc-mainnet", "eth-mainnet", "xdai-mainnet", "optimism-mainnet", "polygon-mainnet"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: 18 - - uses: pnpm/action-setup@v2 + node-version: 20 + - uses: pnpm/action-setup@v3 with: version: 8 - name: Install diff --git a/package.json b/package.json index 4550ffc..b770d0f 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,6 @@ "test": "pnpm -r test" }, "devDependencies": { - "@goldskycom/cli": "^8.5.1" + "@goldskycom/cli": "^8.7.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5a90dcc..f235e1e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,13 +6,13 @@ settings: devDependencies: '@goldskycom/cli': - specifier: ^8.5.1 - version: 8.5.1 + specifier: ^8.7.0 + version: 8.7.0 packages: - /@goldskycom/cli@8.5.1: - resolution: {integrity: sha512-jLXwRh4EFU8KByZnOG3EIuM6E4tbJz7er3XSF0cOIVPZJxOAqIWZuuOZeZpyhUsbvturisumO/GAwUIfOErGCg==} + /@goldskycom/cli@8.7.0: + resolution: {integrity: sha512-QJqyHcLRmsn9YLWqU8s77XI+KKCy0c4sklxEp2+QpZZvsV352CyD4BlvipnDSKek//euBrfx5Fxafc/6/Wdo7g==} hasBin: true dependencies: cuid: 2.1.8 diff --git a/subgraphs/flow-scheduler/package.json b/subgraphs/flow-scheduler/package.json index 3168805..e3d970f 100644 --- a/subgraphs/flow-scheduler/package.json +++ b/subgraphs/flow-scheduler/package.json @@ -17,9 +17,9 @@ "test": "graph test" }, "devDependencies": { - "@goldskycom/cli": "^8.5.1", - "@graphprotocol/graph-cli": "^0.68.5", - "@graphprotocol/graph-ts": "^0.33.0", + "@goldskycom/cli": "^8.7.0", + "@graphprotocol/graph-cli": "^0.71.0", + "@graphprotocol/graph-ts": "^0.35.1", "@types/node": "^20.11.28", "assemblyscript": "0.19.23", "assemblyscript-json": "^1.1.0", diff --git a/subgraphs/flow-scheduler/pnpm-lock.yaml b/subgraphs/flow-scheduler/pnpm-lock.yaml index f02a050..de82fbb 100644 --- a/subgraphs/flow-scheduler/pnpm-lock.yaml +++ b/subgraphs/flow-scheduler/pnpm-lock.yaml @@ -6,14 +6,14 @@ settings: devDependencies: '@goldskycom/cli': - specifier: ^8.5.1 - version: 8.5.1 + specifier: ^8.7.0 + version: 8.7.0 '@graphprotocol/graph-cli': - specifier: ^0.68.5 - version: 0.68.5(@types/node@20.11.28)(node-fetch@3.3.2)(typescript@5.4.2) + specifier: ^0.71.0 + version: 0.71.0(@types/node@20.11.28)(node-fetch@3.3.2)(typescript@5.4.2) '@graphprotocol/graph-ts': - specifier: ^0.33.0 - version: 0.33.0 + specifier: ^0.35.1 + version: 0.35.1 '@types/node': specifier: ^20.11.28 version: 20.11.28 @@ -245,8 +245,8 @@ packages: js-yaml: 4.1.0 dev: true - /@goldskycom/cli@8.5.1: - resolution: {integrity: sha512-jLXwRh4EFU8KByZnOG3EIuM6E4tbJz7er3XSF0cOIVPZJxOAqIWZuuOZeZpyhUsbvturisumO/GAwUIfOErGCg==} + /@goldskycom/cli@8.7.0: + resolution: {integrity: sha512-QJqyHcLRmsn9YLWqU8s77XI+KKCy0c4sklxEp2+QpZZvsV352CyD4BlvipnDSKek//euBrfx5Fxafc/6/Wdo7g==} hasBin: true dependencies: cuid: 2.1.8 @@ -255,8 +255,8 @@ packages: timeago.js: 4.0.2 dev: true - /@graphprotocol/graph-cli@0.68.5(@types/node@20.11.28)(node-fetch@3.3.2)(typescript@5.4.2): - resolution: {integrity: sha512-3GY2pYr5LksO6JY6s5nvePnSKVdtzDEn1CUGezyjCMR1uq9YIXMPXKqcnrzCX/DLugioEabiEi2+yOg9+rnFDQ==} + /@graphprotocol/graph-cli@0.71.0(@types/node@20.11.28)(node-fetch@3.3.2)(typescript@5.4.2): + resolution: {integrity: sha512-ITcSBHuXPuaoRs7FzNtqD0tCOIy4JGsM3j4IQNA2yZgXgr/TmmHG7KTB/c3B5Zlnsr9foXrU71T6ixGmwJ4PKw==} engines: {node: '>=18'} hasBin: true dependencies: @@ -299,8 +299,8 @@ packages: - utf-8-validate dev: true - /@graphprotocol/graph-ts@0.33.0: - resolution: {integrity: sha512-HBUVblHUdjQZ/MEjjYPzVgmh+SiuF9VV0D8KubYfFAtzkqpVJlvdyk+RZTAJUiu8hpyYy0EVIcAnLEPtKlwMGQ==} + /@graphprotocol/graph-ts@0.35.1: + resolution: {integrity: sha512-74CfuQmf7JI76/XCC34FTkMMKeaf+3Pn0FIV3m9KNeaOJ+OI3CvjMIVRhOZdKcJxsFCBGaCCl0eQjh47xTjxKA==} dependencies: assemblyscript: 0.19.10 dev: true diff --git a/subgraphs/vesting-scheduler/package.json b/subgraphs/vesting-scheduler/package.json index d72e29b..d6d0dd4 100644 --- a/subgraphs/vesting-scheduler/package.json +++ b/subgraphs/vesting-scheduler/package.json @@ -17,9 +17,9 @@ "test": "graph test" }, "devDependencies": { - "@goldskycom/cli": "^8.5.1", - "@graphprotocol/graph-cli": "^0.68.5", - "@graphprotocol/graph-ts": "^0.33.0", + "@goldskycom/cli": "^8.7.0", + "@graphprotocol/graph-cli": "^0.71.0", + "@graphprotocol/graph-ts": "^0.35.1", "@types/node": "^20.11.28", "assemblyscript": "0.19.23", "assemblyscript-json": "^1.1.0", diff --git a/subgraphs/vesting-scheduler/pnpm-lock.yaml b/subgraphs/vesting-scheduler/pnpm-lock.yaml index f02a050..de82fbb 100644 --- a/subgraphs/vesting-scheduler/pnpm-lock.yaml +++ b/subgraphs/vesting-scheduler/pnpm-lock.yaml @@ -6,14 +6,14 @@ settings: devDependencies: '@goldskycom/cli': - specifier: ^8.5.1 - version: 8.5.1 + specifier: ^8.7.0 + version: 8.7.0 '@graphprotocol/graph-cli': - specifier: ^0.68.5 - version: 0.68.5(@types/node@20.11.28)(node-fetch@3.3.2)(typescript@5.4.2) + specifier: ^0.71.0 + version: 0.71.0(@types/node@20.11.28)(node-fetch@3.3.2)(typescript@5.4.2) '@graphprotocol/graph-ts': - specifier: ^0.33.0 - version: 0.33.0 + specifier: ^0.35.1 + version: 0.35.1 '@types/node': specifier: ^20.11.28 version: 20.11.28 @@ -245,8 +245,8 @@ packages: js-yaml: 4.1.0 dev: true - /@goldskycom/cli@8.5.1: - resolution: {integrity: sha512-jLXwRh4EFU8KByZnOG3EIuM6E4tbJz7er3XSF0cOIVPZJxOAqIWZuuOZeZpyhUsbvturisumO/GAwUIfOErGCg==} + /@goldskycom/cli@8.7.0: + resolution: {integrity: sha512-QJqyHcLRmsn9YLWqU8s77XI+KKCy0c4sklxEp2+QpZZvsV352CyD4BlvipnDSKek//euBrfx5Fxafc/6/Wdo7g==} hasBin: true dependencies: cuid: 2.1.8 @@ -255,8 +255,8 @@ packages: timeago.js: 4.0.2 dev: true - /@graphprotocol/graph-cli@0.68.5(@types/node@20.11.28)(node-fetch@3.3.2)(typescript@5.4.2): - resolution: {integrity: sha512-3GY2pYr5LksO6JY6s5nvePnSKVdtzDEn1CUGezyjCMR1uq9YIXMPXKqcnrzCX/DLugioEabiEi2+yOg9+rnFDQ==} + /@graphprotocol/graph-cli@0.71.0(@types/node@20.11.28)(node-fetch@3.3.2)(typescript@5.4.2): + resolution: {integrity: sha512-ITcSBHuXPuaoRs7FzNtqD0tCOIy4JGsM3j4IQNA2yZgXgr/TmmHG7KTB/c3B5Zlnsr9foXrU71T6ixGmwJ4PKw==} engines: {node: '>=18'} hasBin: true dependencies: @@ -299,8 +299,8 @@ packages: - utf-8-validate dev: true - /@graphprotocol/graph-ts@0.33.0: - resolution: {integrity: sha512-HBUVblHUdjQZ/MEjjYPzVgmh+SiuF9VV0D8KubYfFAtzkqpVJlvdyk+RZTAJUiu8hpyYy0EVIcAnLEPtKlwMGQ==} + /@graphprotocol/graph-ts@0.35.1: + resolution: {integrity: sha512-74CfuQmf7JI76/XCC34FTkMMKeaf+3Pn0FIV3m9KNeaOJ+OI3CvjMIVRhOZdKcJxsFCBGaCCl0eQjh47xTjxKA==} dependencies: assemblyscript: 0.19.10 dev: true diff --git a/subgraphs/wrap-scheduler/package.json b/subgraphs/wrap-scheduler/package.json index 4737696..044f2a2 100644 --- a/subgraphs/wrap-scheduler/package.json +++ b/subgraphs/wrap-scheduler/package.json @@ -17,9 +17,9 @@ "test": "echo 'no graph test yet'" }, "devDependencies": { - "@goldskycom/cli": "^8.5.1", - "@graphprotocol/graph-cli": "^0.68.5", - "@graphprotocol/graph-ts": "^0.33.0", + "@goldskycom/cli": "^8.7.0", + "@graphprotocol/graph-cli": "^0.71.0", + "@graphprotocol/graph-ts": "^0.35.1", "@types/node": "^20.11.28", "assemblyscript": "0.19.23", "assemblyscript-json": "^1.1.0", diff --git a/subgraphs/wrap-scheduler/pnpm-lock.yaml b/subgraphs/wrap-scheduler/pnpm-lock.yaml index f02a050..de82fbb 100644 --- a/subgraphs/wrap-scheduler/pnpm-lock.yaml +++ b/subgraphs/wrap-scheduler/pnpm-lock.yaml @@ -6,14 +6,14 @@ settings: devDependencies: '@goldskycom/cli': - specifier: ^8.5.1 - version: 8.5.1 + specifier: ^8.7.0 + version: 8.7.0 '@graphprotocol/graph-cli': - specifier: ^0.68.5 - version: 0.68.5(@types/node@20.11.28)(node-fetch@3.3.2)(typescript@5.4.2) + specifier: ^0.71.0 + version: 0.71.0(@types/node@20.11.28)(node-fetch@3.3.2)(typescript@5.4.2) '@graphprotocol/graph-ts': - specifier: ^0.33.0 - version: 0.33.0 + specifier: ^0.35.1 + version: 0.35.1 '@types/node': specifier: ^20.11.28 version: 20.11.28 @@ -245,8 +245,8 @@ packages: js-yaml: 4.1.0 dev: true - /@goldskycom/cli@8.5.1: - resolution: {integrity: sha512-jLXwRh4EFU8KByZnOG3EIuM6E4tbJz7er3XSF0cOIVPZJxOAqIWZuuOZeZpyhUsbvturisumO/GAwUIfOErGCg==} + /@goldskycom/cli@8.7.0: + resolution: {integrity: sha512-QJqyHcLRmsn9YLWqU8s77XI+KKCy0c4sklxEp2+QpZZvsV352CyD4BlvipnDSKek//euBrfx5Fxafc/6/Wdo7g==} hasBin: true dependencies: cuid: 2.1.8 @@ -255,8 +255,8 @@ packages: timeago.js: 4.0.2 dev: true - /@graphprotocol/graph-cli@0.68.5(@types/node@20.11.28)(node-fetch@3.3.2)(typescript@5.4.2): - resolution: {integrity: sha512-3GY2pYr5LksO6JY6s5nvePnSKVdtzDEn1CUGezyjCMR1uq9YIXMPXKqcnrzCX/DLugioEabiEi2+yOg9+rnFDQ==} + /@graphprotocol/graph-cli@0.71.0(@types/node@20.11.28)(node-fetch@3.3.2)(typescript@5.4.2): + resolution: {integrity: sha512-ITcSBHuXPuaoRs7FzNtqD0tCOIy4JGsM3j4IQNA2yZgXgr/TmmHG7KTB/c3B5Zlnsr9foXrU71T6ixGmwJ4PKw==} engines: {node: '>=18'} hasBin: true dependencies: @@ -299,8 +299,8 @@ packages: - utf-8-validate dev: true - /@graphprotocol/graph-ts@0.33.0: - resolution: {integrity: sha512-HBUVblHUdjQZ/MEjjYPzVgmh+SiuF9VV0D8KubYfFAtzkqpVJlvdyk+RZTAJUiu8hpyYy0EVIcAnLEPtKlwMGQ==} + /@graphprotocol/graph-ts@0.35.1: + resolution: {integrity: sha512-74CfuQmf7JI76/XCC34FTkMMKeaf+3Pn0FIV3m9KNeaOJ+OI3CvjMIVRhOZdKcJxsFCBGaCCl0eQjh47xTjxKA==} dependencies: assemblyscript: 0.19.10 dev: true