-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
b764e22
commit 9a28083
Showing
7 changed files
with
10,568 additions
and
6,138 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
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ In your .github/workflows folder, add a new job step to the appropriate workflow | |
- uses: neofinancial/[email protected] | ||
with: | ||
db-connection-env-var: MONGODB_CONNECTION_STRING | ||
run-command: yarn use:database | ||
run-command: npm run use:database | ||
binary-version: 4.4.6 | ||
instance-dbName: validation | ||
instance-port: 27017 | ||
|
@@ -40,7 +40,7 @@ In your .github/workflows folder, add a new job step to the appropriate workflow | |
|
||
## Implementation | ||
|
||
In the example, the **`run-command`** parameter value ("`yarn use:database`") is executed synchronously by the action using a child process. That script is therefore responsible for reading the ENV variable `MONGODB_CONNECTION_STRING` and configuring MongoDB client(s) accordingly. | ||
In the example, the **`run-command`** parameter value ("`npm run use:database`") is executed synchronously by the action using a child process. That script is therefore responsible for reading the ENV variable `MONGODB_CONNECTION_STRING` and configuring MongoDB client(s) accordingly. | ||
|
||
The memory-server is stopped (and destroyed) subsequent to the completion of this command, so the command's process should encompass all interactions with it. | ||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.