Skip to content

Commit

Permalink
some change
Browse files Browse the repository at this point in the history
  • Loading branch information
yoozo committed Sep 12, 2024
1 parent 0737178 commit 4e73943
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml.bak
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
# Containers must run in Linux based operating systems
runs-on: ubuntu-latest
# Docker Hub image that `container-job` executes in
container: node:18
container: node:20
services:
# Label used to access the service container
postgres:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gh-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- run: yarn install

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
- run: yarn
- name: build
run: yarn build
Expand Down Expand Up @@ -48,10 +48,10 @@ jobs:
- name: Enable btree btree_gist
run: psql "postgresql://$DB_USER:$DB_PASS@$DB_HOST:$DB_PORT/$DB_DATABASE" -c "CREATE EXTENSION IF NOT EXISTS btree_gist;"

- name: Use Node 18
- name: Use Node20
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: install dependencies
run: yarn
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- run: yarn

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/query-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
push: true
platforms: arm64,amd64
file: Dockerfile
tags: subquerynetwork/subgraph-query:v${{ steps.get-query-version.outputs.QUERY_VERSION }}
tags: subquerynetwork/query-subgraph:v${{ steps.get-query-version.outputs.QUERY_VERSION }}
build-args: RELEASE_VERSION=${{ steps.get-query-version.outputs.QUERY_VERSION }}

- name: Build and push
Expand All @@ -86,7 +86,7 @@ jobs:
push: true
platforms: arm64,amd64
file: Dockerfile
tags: subquerynetwork/subgraph-query:v${{ steps.get-query-version.outputs.QUERY_VERSION }},subquerynetwork/subgraph-query:latest
tags: subquerynetwork/query-subgraph:v${{ steps.get-query-version.outputs.QUERY_VERSION }},subquerynetwork/query-subgraph:latest
build-args: RELEASE_VERSION=${{ steps.get-query-version.outputs.QUERY_VERSION }}

- name: Image digest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- run: yarn

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scripts/benchmark/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18
FROM node:20

# Define build-time arguments

Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.1",
"main": "index.js",
"bin": {
"subql-subgraph-query": "./bin/run"
"subql-query-subgraph": "./bin/run"
},
"repository": "[email protected]:subquery/query-subgraph.git",
"author": "Tate <[email protected]>",
Expand Down Expand Up @@ -37,7 +37,6 @@
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-sort-destructure-keys": "^1.4.0",
"graphile": "^5.0.0-beta.28",
"husky": "^9.1.5",
"jest": "^29.7.0",
"lint-staged": "^15.2.7",
Expand Down
20 changes: 1 addition & 19 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -960,13 +960,6 @@
"@typescript-eslint/types" "5.62.0"
eslint-visitor-keys "^3.3.0"

"@typescript/vfs@^1.5.0":
version "1.6.0"
resolved "https://registry.yarnpkg.com/@typescript/vfs/-/vfs-1.6.0.tgz#9c90d8c43f7ac53cc77d5959e5c4c9b639f0959e"
integrity sha512-hvJUjNVeBMp77qPINuUvYXj4FyWeeMMKZkxEATEU3hqBAQ7qdTBCUFT7Sp0Zu0faeEtFf+ldXxMEDr/bk73ISg==
dependencies:
debug "^4.1.1"

"@ungap/structured-clone@^1.2.0":
version "1.2.0"
resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406"
Expand Down Expand Up @@ -2317,17 +2310,6 @@ graphile-utils@^5.0.0-beta.28:
json5 "^2.2.3"
tslib "^2.6.2"

graphile@^5.0.0-beta.28:
version "5.0.0-beta.29"
resolved "https://registry.yarnpkg.com/graphile/-/graphile-5.0.0-beta.29.tgz#5305c1c99a47a2620d73c93e0d4af1dbcb285043"
integrity sha512-oz88in0Pql98tpPpmovnFEMiOXWQtZKIOdeiEx2pBwe8xO8l6U48X0iz4vLzoJc5MhWhnwo4VV4tSyCHZ1ukaQ==
dependencies:
"@typescript/vfs" "^1.5.0"
chalk "^4.1.2"
graphile-config "^0.0.1-beta.9"
tslib "^2.6.2"
typescript "^5.2.2"

graphql-tag@^2.10.4:
version "2.12.6"
resolved "https://registry.yarnpkg.com/graphql-tag/-/graphql-tag-2.12.6.tgz#d441a569c1d2537ef10ca3d1633b48725329b5f1"
Expand Down Expand Up @@ -4462,7 +4444,7 @@ typed-array-length@^1.0.6:
is-typed-array "^1.1.13"
possible-typed-array-names "^1.0.0"

typescript@^5.2.2, typescript@^5.5.4:
typescript@^5.5.4:
version "5.6.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.6.2.tgz#d1de67b6bef77c41823f822df8f0b3bcff60a5a0"
integrity sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==
Expand Down

0 comments on commit 4e73943

Please sign in to comment.