Skip to content

Commit

Permalink
Add outputDir to GitHub Action options
Browse files Browse the repository at this point in the history
  • Loading branch information
codykaup committed Jan 8, 2025
1 parent 8f27f8b commit fae3fae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions action-src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ async function run() {
const onlyChanged = getInput('onlyChanged');
const onlyStoryFiles = getMultilineInput('onlyStoryFiles');
const onlyStoryNames = getMultilineInput('onlyStoryNames');
const outputDir = getInput('outputDir');

Check warning on line 126 in action-src/main.ts

View check run for this annotation

Codecov / codecov/patch

action-src/main.ts#L126

Added line #L126 was not covered by tests
const playwright = getInput('playwright');
const preserveMissing = getInput('preserveMissing');
const projectToken = getInput('projectToken') || getInput('appCode'); // backwards compatibility
Expand Down Expand Up @@ -179,6 +180,7 @@ async function run() {
onlyChanged: maybe(onlyChanged),
onlyStoryFiles: maybe(onlyStoryFiles),
onlyStoryNames: maybe(onlyStoryNames),
outputDir: maybe(outputDir),

Check warning on line 183 in action-src/main.ts

View check run for this annotation

Codecov / codecov/patch

action-src/main.ts#L183

Added line #L183 was not covered by tests
playwright: maybe(playwright),
preserveMissing: maybe(preserveMissing),
projectToken,
Expand Down

0 comments on commit fae3fae

Please sign in to comment.