File tree 3 files changed +16
-6
lines changed
packages/google-cloud-bigquery-connection
3 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,15 @@ accept your pull requests.
37
37
1 . Title your pull request following [ Conventional Commits] ( https://www.conventionalcommits.org/ ) styling.
38
38
1 . Submit a pull request.
39
39
40
+ ### Before you begin
41
+
42
+ 1 . [ Select or create a Cloud Platform project] [ projects ] .
43
+ 1 . [ Enable billing for your project] [ billing ] .
44
+ 1 . [ Enable the Google BigQuery Connection API] [ enable_api ] .
45
+ 1 . [ Set up authentication with a service account] [ auth ] so you can access the
46
+ API from your local workstation.
47
+
48
+
40
49
## Running the tests
41
50
42
51
1 . [ Prepare your environment for Node.js setup] [ setup ] .
@@ -51,15 +60,17 @@ accept your pull requests.
51
60
npm test
52
61
53
62
# Run sample integration tests.
54
- gcloud auth application-default login
55
63
npm run samples-test
56
64
57
65
# Run all system tests.
58
- gcloud auth application-default login
59
66
npm run system-test
60
67
61
68
1 . Lint (and maybe fix) any changes:
62
69
63
70
npm run fix
64
71
65
72
[ setup ] : https://cloud.google.com/nodejs/docs/setup
73
+ [ projects ] : https://console.cloud.google.com/project
74
+ [ billing ] : https://support.google.com/cloud/answer/6293499#enable-billing
75
+ [ enable_api ] : https://console.cloud.google.com/flows/enableapi?apiid=bigqueryconnection.googleapis.com
76
+ [ auth ] : https://cloud.google.com/docs/authentication/getting-started
Original file line number Diff line number Diff line change @@ -86,8 +86,7 @@ const listConnectionsResponse = listConnections();
86
86
87
87
## Samples
88
88
89
- Samples are in the [ ` samples/ ` ] ( https://github.com/googleapis/nodejs-bigquery-connection/tree/master/samples ) directory. The samples' ` README.md `
90
- has instructions for running the samples.
89
+ Samples are in the [ ` samples/ ` ] ( https://github.com/googleapis/nodejs-bigquery-connection/tree/master/samples ) directory. Each sample's ` README.md ` has instructions for running its sample.
91
90
92
91
| Sample | Source Code | Try it |
93
92
| --------------------------- | --------------------------------- | ------ |
Original file line number Diff line number Diff line change 4
4
"git": {
5
5
"name": ".",
6
6
"remote": "https://github.com/googleapis/nodejs-bigquery-connection.git",
7
- "sha": "14f9872f2175791f663ccfb6511d2d3e408f4151 "
7
+ "sha": "46ab919883aed13d92bf046fde8b8629b8e1eb50 "
8
8
}
9
9
},
10
10
{
19
19
"git": {
20
20
"name": "synthtool",
21
21
"remote": "https://github.com/googleapis/synthtool.git",
22
- "sha": "15013eff642a7e7e855aed5a29e6e83c39beba2a "
22
+ "sha": "363fe305e9ce34a6cd53951c6ee5f997094b54ee "
23
23
}
24
24
}
25
25
],
You can’t perform that action at this time.
0 commit comments