Add toolkit example to container (#1)

* Add toolkit

* Remove entrypoint

* Use a node container

* Debug

* Temporarily remove package-lock.json for local dependencies

* Clean up

* Get logging working

* Use entrypoint

* Debug

* Debug

* Just print repo name
This commit is contained in:
Danny McCormick
2019-08-02 09:09:37 -04:00
committed by GitHub
parent 13a6fbf7d9
commit dcf7775603
16 changed files with 183 additions and 10 deletions

43
package.json Normal file
View File

@@ -0,0 +1,43 @@
{
"name": "container-toolkit-template",
"version": "0.0.0",
"description": "Container template action using actions/toolkit",
"main": "lib/main.js",
"scripts": {
"build": "tsc",
"format": "prettier --write **/*.ts",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/actions/container-toolkit-template.git"
},
"keywords": [
"actions",
"container",
"toolkit",
"setup"
],
"author": "GitHub",
"license": "ISC",
"bugs": {
"url": "https://github.com/actions/container-toolkit-template/issues"
},
"homepage": "https://github.com/actions/container-toolkit-template#readme",
"dependencies": {
"@actions/core": "file:toolkit/actions-core-0.0.0.tgz",
"@actions/io": "file:toolkit/actions-io-0.0.0.tgz",
"@actions/exec": "file:toolkit/actions-exec-0.0.0.tgz",
"@actions/github": "file:toolkit/actions-github-0.0.0.tgz",
"@actions/tool-cache": "file:toolkit/actions-tool-cache-0.0.0.tgz"
},
"devDependencies": {
"@types/jest": "^24.0.13",
"@types/node": "^12.0.4",
"jest": "^24.8.0",
"jest-circus": "^24.7.1",
"prettier": "^1.17.1",
"ts-jest": "^24.0.2",
"typescript": "^3.5.1"
}
}