Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 16 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,17 +88,19 @@ export default {

## Inputs

| Name | Description | Required | Default |
| ------------------- | ------------------------------------------------------------------- | -------- | ------------------------ |
| token | Token used for pushing fixes and commenting on PRs. | true | |
| working-directory | Working directory to run the action in | false | "." |
| web-components-src | The path to the directory containing the web components source code | false | "src/\*_/_.{ts,tsx}" |
| test-src | The path to the directory containing the test source code | false | "src/test/\*_/_.test.ts" |
| test-results-path | The path to the test results file | false | "./test-results.xml" |
| coverage-path | The path to the coverage file | false | "coverage/lcov.info" |
| run-static-analysis | Whether to run static analysis | false | true |
| run-code-formatting | Whether to run code formatting | false | true |
| run-tests | Whether tests should be run. | false | true |
| run-coverage | Whether to run coverage | false | true |
| create-comment | Whether to create a comment on the PR | false | true |
| coverage-pass-score | The minimum coverage score required to pass | false | "80" |
| Name | Description | Required | Default |
| ------------------- | ------------------------------------------------------------------- | -------- | --------------------------- |
| token | Token used for pushing fixes and commenting on PRs. | true | |
| working-directory | Working directory to run the action in | false | "." |
| web-components-src | The path to the directory containing the web components source code | false | "src/\*_/_.{ts,tsx}" |
| test-src | The path to the directory containing the test source code | false | "src/test/\*_/_.test.ts" |
| test-results-path | The path to the test results file | false | "./test-results.xml" |
| coverage-path | The path to the coverage file | false | "coverage/lcov.info" |
| run-static-analysis | Whether to run static analysis | false | true |
| run-code-formatting | Whether to run code formatting | false | true |
| run-tests | Whether tests should be run. | false | true |
| run-coverage | Whether to run coverage | false | true |
| create-comment | Whether to create a comment on the PR | false | true |
| coverage-pass-score | The minimum coverage score required to pass | false | "80" |
| eslint-config-path | The path to the ESLint configuration file | false | "eslint.config.\*" |
| test-config-path | The path to the test configuration file | false | "web-test-runner.config.\*" |
11 changes: 9 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,15 @@ inputs:
required: false
default: "80"

# Define your outputs here.
# outputs:
eslint-config-path:
description: "The path to the ESLint configuration file"
required: false
default: "eslint.config.*"

test-config-path:
description: "The path to the test configuration file"
required: false
default: "web-test-runner.config.*"

runs:
using: node20
Expand Down
18 changes: 15 additions & 3 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

Loading