mirror of https://github.com/actions/toolkit
Add a placeholder GitHub package
This will serve as something to build testing/TypeScript tooling aroundpull/1/head
parent
a044bf542b
commit
97bc7918f4
File diff suppressed because it is too large
Load Diff
14
package.json
14
package.json
|
@ -1,7 +1,21 @@
|
|||
{
|
||||
"name": "root",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"test": "jest"
|
||||
},
|
||||
"jest": {
|
||||
"clearMocks": true,
|
||||
"roots": [
|
||||
"<rootDir>/packages"
|
||||
],
|
||||
"testEnvironment": "node",
|
||||
"testRunner": "jest-circus/runner",
|
||||
"verbose": true
|
||||
},
|
||||
"devDependencies": {
|
||||
"jest": "^24.7.1",
|
||||
"jest-circus": "^24.7.1",
|
||||
"lerna": "^3.13.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
# `@actions/github`
|
||||
|
||||
> TODO: description
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
const github = require('@actions/github');
|
||||
|
||||
// TODO: DEMONSTRATE API
|
||||
```
|
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
// const github = require('..');
|
||||
|
||||
describe('@actions/github', () => {
|
||||
it('needs tests', () => {
|
||||
|
||||
});
|
||||
});
|
|
@ -0,0 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
module.exports = github;
|
||||
|
||||
function github() {
|
||||
// TODO
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"name": "@actions/github",
|
||||
"version": "0.0.0",
|
||||
"description": "Actions tools for the GitHub API and GitHub context",
|
||||
"keywords": [
|
||||
"github",
|
||||
"actions",
|
||||
"toolkit"
|
||||
],
|
||||
"homepage": "https://github.com/actions/toolkit/tree/master/packages/github",
|
||||
"license": "MIT",
|
||||
"directories": {
|
||||
"lib": "lib",
|
||||
"test": "__tests__"
|
||||
},
|
||||
"files": [
|
||||
"lib"
|
||||
],
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/actions/toolkit.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "echo \"Error: run tests from root\" && exit 1"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/actions/toolkit/issues"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue