-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create in-cloud action for running Meticulous tests in the cloud
- Loading branch information
1 parent
9cd0703
commit d5c28d4
Showing
12 changed files
with
267 additions
and
51 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 |
---|---|---|
|
@@ -27,4 +27,4 @@ COPY src src | |
|
||
RUN yarn build | ||
|
||
CMD ["/app/dist/index.mjs"] | ||
CMD ["/app/dist/main/main.entrypoint.js"] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,26 @@ | ||
import { getInputFromEnv } from "../../utils/get-input-from-env"; | ||
|
||
export const getInCloudActionInputs = () => { | ||
// The names, required value, and types should match that in action.yml | ||
const apiToken = getInputFromEnv({ | ||
name: "api-token", | ||
required: true, | ||
type: "string", | ||
}); | ||
const githubToken = getInputFromEnv({ | ||
name: "github-token", | ||
required: true, | ||
type: "string", | ||
}); | ||
const appUrl = getInputFromEnv({ | ||
name: "app-url", | ||
required: true, | ||
type: "string", | ||
}); | ||
|
||
return { | ||
apiToken, | ||
githubToken, | ||
appUrl, | ||
}; | ||
}; |
Oops, something went wrong.