Skip to content

Commit

Permalink
refinements
Browse files Browse the repository at this point in the history
  • Loading branch information
marcuspoehls committed Dec 17, 2019
1 parent 58ee66f commit b4f49f3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 33 deletions.
15 changes: 0 additions & 15 deletions .eslintrc.json

This file was deleted.

17 changes: 1 addition & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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"
},
Expand All @@ -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"
}
}
3 changes: 1 addition & 2 deletions start-redis.js
Original file line number Diff line number Diff line change
@@ -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')}`)
}

Expand Down

0 comments on commit b4f49f3

Please sign in to comment.