generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for JIRA (port from pivotal-lint) (#1)
* Remove everything * Add support for JIRA * Minify to reduce size * remove unused filterArray method and add final build * remove unused import * rename getDetails to getTicketDetails to make it more specific * Add the test * Use the last match * Labels without spaces * Fix closing quote * use uppercase keywords * update readme to remove pivotal-lint references * update the image url in readme * fix tests * skip the last test Co-authored-by: Raj Anand <rajanand0202@gmail.com>
- Loading branch information
1 parent
069308e
commit 77705cb
Showing
27 changed files
with
2,321 additions
and
2,216 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: "PR Checks" | ||
on: [pull_request, push] | ||
|
||
jobs: | ||
check_pr: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: "npm ci" | ||
run: npm ci | ||
|
||
- name: "npm run build" | ||
run: npm run build | ||
|
||
- name: "npm run test" | ||
run: npm run test | ||
|
||
- name: "check for uncommitted changes" | ||
# Ensure no changes, but ignore node_modules dir since dev/fresh ci deps installed. | ||
run: | | ||
git diff --exit-code --stat -- . ':!node_modules' \ | ||
|| (echo "##[error] found changed files after build. please 'npm run build'" \ | ||
"and check in all changes" \ | ||
&& exit 1) |
This file was deleted.
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 @@ | ||
12 |
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
module.exports = { | ||
printWidth: 120, | ||
semi: true, | ||
singleQuote: true, | ||
tabWidth: 2, | ||
trailingComma: 'es5', | ||
quoteProps: 'consistent', | ||
jsxSingleQuote: true, | ||
bracketSpacing: true, | ||
endOfLine: 'lf', | ||
}; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.