Skip to content

Commit

Permalink
Added action
Browse files Browse the repository at this point in the history
  • Loading branch information
DE7924 committed Dec 6, 2024
1 parent 393ba10 commit e176f2a
Show file tree
Hide file tree
Showing 12 changed files with 461 additions and 134 deletions.
59 changes: 0 additions & 59 deletions .env.example

This file was deleted.

4 changes: 0 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,3 @@ jobs:
uses: ./
with:
milliseconds: 2000

- name: Print Output
id: output
run: echo "${{ steps.test-action.outputs.time }}"
3 changes: 0 additions & 3 deletions CODEOWNERS

This file was deleted.

56 changes: 45 additions & 11 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,57 @@
name: 'The name of your action here'
description: 'Provide a description here'
author: 'Your name or organization here'
name: 'Web Components Code Quality'
description:
'This action is designed to format and test Web Component repositories on pull
requests. It helps ensure that your code meets the required quality standards.'
author: 'Zebra Technologies'

# Add your action's branding here. This will appear on the GitHub Marketplace.
branding:
icon: 'heart'
color: 'red'
icon: compass
color: 'blue'

# Define your inputs here.
inputs:
milliseconds:
description: 'Your input description here'
token:
description: 'Token used for pushing fixes and commenting on PRs'
required: true
default: '1000'

working-directory:
description: 'The working directory'
required: false
default: '.'

run-static-analysis:
description: 'Whether to run static analysis'
required: false
default: 'true'

run-code-formatting:
description: 'Whether to run code formatting'
required: false
default: 'true'

run-tests:
description: 'Whether to run tests'
required: false
default: 'true'

run-coverage:
description: 'Whether to run coverage'
required: false
default: 'true'

create-comment:
description: 'Whether to create a comment on the PR'
required: false
default: 'true'

coverage-pass-score:
description: 'The minimum coverage score required to pass'
required: false
default: '80'

# Define your outputs here.
outputs:
time:
description: 'Your output description here'
# outputs:

runs:
using: node20
Expand Down
Loading

0 comments on commit e176f2a

Please sign in to comment.