From a9f086a5e1c8760d3ad59b36eef1172f195297fa Mon Sep 17 00:00:00 2001 From: hveldstra Date: Tue, 17 Dec 2024 09:40:12 +0000 Subject: [PATCH] ci: revert to plain Node image, no browsers in our action --- .github/workflows/examples.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 6c7a5dc48c..acdbb63a6a 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -24,14 +24,16 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Install - run: npm ci - - name: Run example - uses: artilleryio/action-cli@v1 + uses: actions/setup-node@v3 with: - command: run browser-load-test.ts --record --tags ${{ env.CLI_TAGS }},group:browser-load-test --note ${{ env.CLI_NOTE }} - working-directory: ${{ env.CWD }} + node-version: '20.x' + - name: Install dependencies + run: npm ci + - name: Run test + run: | + $ARTILLERY_BINARY_PATH run browser-load-test.ts --record --tags ${{ env.CLI_TAGS }},group:browser-load-test --note "${{ env.CLI_NOTE }}" + working-directory: ${{ env.CWD }} env: ARTILLERY_BINARY_PATH: ${{ env.ARTILLERY_BINARY_PATH }} ARTILLERY_CLOUD_ENDPOINT: ${{ secrets.ARTILLERY_CLOUD_ENDPOINT_TEST }}