-
Notifications
You must be signed in to change notification settings - Fork 348
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
94 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
'@graphql-mesh/apollo-link': patch | ||
'@graphql-mesh/grpc': patch | ||
'@omnigraph/json-schema': patch | ||
'@graphql-mesh/plugin-newrelic': patch | ||
'@graphql-mesh/string-interpolation': patch | ||
'@graphql-mesh/types': patch | ||
--- | ||
|
||
Fixes for ESM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,10 +34,7 @@ jobs: | |
POSTGRES_PASSWORD: docker | ||
# Set health checks to wait until postgres has started | ||
options: >- | ||
--health-cmd pg_isready | ||
--health-interval 10s | ||
--health-timeout 5s | ||
--health-retries 5 | ||
--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | ||
ports: | ||
# Maps tcp port 5432 on service container to the host | ||
- 5432:5432 | ||
|
@@ -47,7 +44,9 @@ jobs: | |
MYSQL_ROOT_PASSWORD: passwd | ||
ports: | ||
- 33306:3306 | ||
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 | ||
options: | ||
--health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s | ||
--health-retries=3 | ||
|
||
steps: | ||
- name: Checkout | ||
|
@@ -67,7 +66,10 @@ jobs: | |
${{runner.os}}-${{matrix.node-version}}-jest- | ||
- name: Download Postgres Dump | ||
run: 'curl https://raw.githubusercontent.com/morenoh149/postgresDBSamples/master/worldDB-1.0/world.sql -o /tmp/backup.sql' | ||
run: | ||
'curl | ||
https://raw.githubusercontent.com/morenoh149/postgresDBSamples/master/worldDB-1.0/world.sql | ||
-o /tmp/backup.sql' | ||
- name: Load Postgres Data | ||
uses: tj-actions/[email protected] | ||
with: | ||
|
@@ -84,3 +86,5 @@ jobs: | |
NODE_TLS_REJECT_UNAUTHORIZED: 0 | ||
GH_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
LC_ALL: en-US | ||
- name: Node.js integrity check | ||
run: yarn bob check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,4 @@ package-lock.json | |
/.husky/_/ | ||
newrelic-agent.log | ||
website/public/_redirects | ||
packages/types/src/config-schema.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
const { readFileSync, writeFileSync } = require('fs-extra'); | ||
|
||
const { join } = require('path'); | ||
|
||
const absoluteConfigSchemaPath = join(__dirname, '../packages/types/src/config-schema.json'); | ||
const absoluteConfigSchemaTsPath = join(__dirname, '../packages/types/src/config-schema.ts'); | ||
|
||
const configSchemaStr = readFileSync(absoluteConfigSchemaPath, 'utf-8'); | ||
const configSchemaTs = `export const jsonSchema: any = ${configSchemaStr} as any;`; | ||
|
||
writeFileSync(absoluteConfigSchemaTsPath, configSchemaTs); |