Skip to content

Commit

Permalink
chore: Initial version
Browse files Browse the repository at this point in the history
  • Loading branch information
franky47 committed Feb 5, 2021
1 parent 3e3980d commit edeebab
Show file tree
Hide file tree
Showing 14 changed files with 5,839 additions and 3,986 deletions.
3 changes: 1 addition & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"@typescript-eslint/ban-ts-comment": "error",
"camelcase": "off",
"@typescript-eslint/consistent-type-assertions": "error",
"@typescript-eslint/explicit-function-return-type": ["error", {"allowExpressions": true}],
"@typescript-eslint/func-call-spacing": ["error", "never"],
"@typescript-eslint/no-array-constructor": "error",
"@typescript-eslint/no-empty-interface": "error",
Expand Down Expand Up @@ -51,4 +50,4 @@
"es6": true,
"jest/globals": true
}
}
}
11 changes: 9 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'build-test'
name: Test name
on: # rebuild any PRs and main branch changes
pull_request:
push:
Expand All @@ -19,6 +19,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
if: ${{ !env.ACT }}
- uses: actions/checkout@v2
if: ${{ env.ACT }}
with:
path: actions-slack-notify
- uses: ./
if: always()
with:
milliseconds: 1000
status: failure
steps: ${{ toJson(steps) }}
2 changes: 1 addition & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"semi": false,
"singleQuote": true,
"trailingComma": "none",
"bracketSpacing": false,
"bracketSpacing": true,
"arrowParens": "avoid"
}
2 changes: 1 addition & 1 deletion __tests__/main.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {wait} from '../src/wait'
import { wait } from '../src/wait'
import * as process from 'process'
import * as cp from 'child_process'
import * as path from 'path'
Expand Down
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: 'Your name here'
description: 'Provide a description here'
author: 'Your name or organization here'
inputs:
status:
required: true
steps:
default: '{}'
milliseconds: # change this
required: true
description: 'input description here'
Expand Down
Loading

0 comments on commit edeebab

Please sign in to comment.