Prepare repository
This commit is contained in:
Родитель
4d4c051f03
Коммит
03ee1378cb
4
LICENSE
4
LICENSE
|
@ -1,7 +1,7 @@
|
|||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2018 GitHub, Inc. and contributors
|
||||
Copyright (c) 2018 8398a7, Inc. and contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -19,4 +19,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
THE SOFTWARE.
|
||||
|
|
10
README.md
10
README.md
|
@ -1,9 +1,7 @@
|
|||
# JavaScript Action Template
|
||||
# Action Slack
|
||||
|
||||
This template offers an easy way to get started writing a javascript action with TypeScript compile time support, unit testing with Jest and using the GitHub Actions Toolkit.
|
||||
You can notify slack of GitHub Actions.
|
||||
|
||||
## Getting Started
|
||||
## Usage
|
||||
|
||||
See the walkthrough located [here](https://github.com/actions/toolkit/blob/master/docs/javascript-action.md).
|
||||
|
||||
In addition to walking your through how to create an action, it also provides strategies for versioning, releasing and referencing your actions.
|
||||
TODO
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
name: 'Node 12 Template Action'
|
||||
description: 'Get started with Node actions'
|
||||
author: 'GitHub'
|
||||
inputs:
|
||||
author: '8398a7'
|
||||
inputs:
|
||||
myInput:
|
||||
description: 'Input to use'
|
||||
default: 'world'
|
||||
|
|
15
package.json
15
package.json
|
@ -1,23 +1,27 @@
|
|||
{
|
||||
"name": "node12-template-action",
|
||||
"name": "action-slack",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"description": "Node 12 template action",
|
||||
"description": "You can notify slack of GitHub Actions.",
|
||||
"main": "lib/main.js",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"format": "prettier --write **/*.ts",
|
||||
"format-check": "prettier --check **/*.ts",
|
||||
"test": "jest"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/actions/node12-template.git"
|
||||
"url": "git+https://github.com/8398a7/action-slack.git"
|
||||
},
|
||||
"keywords": [
|
||||
"actions",
|
||||
"node",
|
||||
"setup"
|
||||
"setup",
|
||||
"chat",
|
||||
"slack"
|
||||
],
|
||||
"author": "GitHub",
|
||||
"author": "8398a7",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.0.0",
|
||||
|
@ -31,6 +35,7 @@
|
|||
"@types/jest": "^24.0.13",
|
||||
"@types/node": "^12.0.4",
|
||||
"@types/semver": "^6.0.0",
|
||||
"prettier": "^1.18.2",
|
||||
"jest": "^24.8.0",
|
||||
"jest-circus": "^24.7.1",
|
||||
"ts-jest": "^24.0.2",
|
||||
|
|
Загрузка…
Ссылка в новой задаче