refinements
parent
58ee66f6f5
commit
b4f49f3d84
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"env": {
|
||||
"es6": true,
|
||||
"node": true
|
||||
},
|
||||
"extends": [
|
||||
"standard"
|
||||
],
|
||||
"plugins": [
|
||||
"standard"
|
||||
],
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2018
|
||||
}
|
||||
}
|
17
package.json
17
package.json
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@supercharge/redis-github-action",
|
||||
"description": "Redis server in a GitHub Action",
|
||||
"version": "1.0.0",
|
||||
"version": "0.0.0",
|
||||
"author": "Marcus Pöhls <marcus@superchargejs.com>",
|
||||
"bugs": {
|
||||
"url": "https://github.com/superchargejs/redis-github-action/issues"
|
||||
|
@ -10,14 +10,6 @@
|
|||
"@actions/core": "~1.2.0",
|
||||
"@actions/exec": "~1.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "~6.7.2",
|
||||
"eslint-config-standard": "~14.1.0",
|
||||
"eslint-plugin-import": "~2.19.1",
|
||||
"eslint-plugin-node": "~10.0.0",
|
||||
"eslint-plugin-promise": "~4.2.1",
|
||||
"eslint-plugin-standard": "~4.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
},
|
||||
|
@ -32,12 +24,5 @@
|
|||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/superchargejs/redis-github-action.git"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint .",
|
||||
"lint:fix": "eslint . --fix",
|
||||
"list:tests": "lab --assert @hapi/code --dry --verbose",
|
||||
"test": "lab --assert @hapi/code --leaks --coverage --lint --reporter console --output stdout --reporter html --output ./coverage/coverage.html",
|
||||
"test:single": "lab --assert @hapi/code --leaks --lint --id"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
const core = require('@actions/core')
|
||||
const { exec } = require('@actions/exec')
|
||||
|
||||
async function run (){
|
||||
await exec(`npm install`)
|
||||
async function run () {
|
||||
await exec(`docker run --name redis --publish 6379:6379 --detach redis:${core.getInput('redis-version')}`)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue