Add tests and CI.

This commit is contained in:
Franz Diebold 2020-07-14 12:06:58 +02:00
parent a1deed7ade
commit 932bbbde38
11 changed files with 5392 additions and 84 deletions

View file

@ -1,11 +1,12 @@
{
"name": "github-env-vars-action",
"version": "1.1.1",
"version": "1.1.2",
"description": "A GitHub Action to expose useful environment variables.",
"main": "index.js",
"scripts": {
"build": "ncc build index.js",
"test": "echo \"Error: no test specified\" && exit 1"
"lint": "eslint *.js",
"test": "jest",
"build": "ncc build index.js"
},
"repository": {
"type": "git",
@ -23,5 +24,10 @@
"homepage": "https://github.com/FranzDiebold/github-env-vars-action#readme",
"dependencies": {
"@actions/core": "^1.2.4"
},
"devDependencies": {
"eslint": "^7.4.0",
"eslint-config-google": "^0.14.0",
"jest": "^26.1.0"
}
}