diff --git a/packages/artillery-github-action/README.md b/packages/artillery-github-action/README.md index bd1fd701f5..0f7d90d6e8 100644 --- a/packages/artillery-github-action/README.md +++ b/packages/artillery-github-action/README.md @@ -103,8 +103,6 @@ on: jobs: load-test: runs-on: ubuntu-latest - # Make sure to use Artillery's container for this job. - container: artilleryio/artillery:latest steps: - name: Checkout uses: actions/checkout@v3 @@ -139,7 +137,6 @@ on: jobs: load-test: runs-on: ubuntu-latest - container: artilleryio/artillery:latest steps: - name: Checkout uses: actions/checkout@v3 diff --git a/packages/artillery-github-action/index.js b/packages/artillery-github-action/index.js index 7d7946d748..ac569b6f3b 100644 --- a/packages/artillery-github-action/index.js +++ b/packages/artillery-github-action/index.js @@ -1,4 +1,5 @@ const core = require("@actions/core"); +const artillery = require("artillery/lib/cli"); function getInputs() { const tests = core.getInput("tests"); diff --git a/packages/artillery-github-action/package.json b/packages/artillery-github-action/package.json index 345b7d0258..c1313a411a 100644 --- a/packages/artillery-github-action/package.json +++ b/packages/artillery-github-action/package.json @@ -3,5 +3,8 @@ "version": "0.0.0", "devDependencies": { "@actions/core": "^1.10.0" + }, + "dependencies": { + "artillery": "^2.0.0-34" } }