Skip to content

Commit 6b5ff62

Browse files
committed
ci: use artilleryio/action-cli
1 parent 6504571 commit 6b5ff62

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/examples.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,10 @@ jobs:
2828
run: npm ci
2929

3030
- name: Run example
31-
uses: actions/setup-node@v3
31+
uses: artilleryio/action-cli@v1
3232
with:
33-
node-version: '20.x'
34-
- run: |
35-
artillery run browser-load-test.ts --record --tags ${{ env.CLI_TAGS }},group:browser-load-test --note ${{ env.CLI_NOTE }}
33+
command: run browser-load-test.ts --record --tags ${{ env.CLI_TAGS }},group:browser-load-test --note ${{ env.CLI_NOTE }}
34+
working-directory: ${{ env.CWD }}
3635
env:
3736
ARTILLERY_BINARY_PATH: ${{ env.ARTILLERY_BINARY_PATH }}
3837
ARTILLERY_CLOUD_ENDPOINT: ${{ secrets.ARTILLERY_CLOUD_ENDPOINT_TEST }}

0 commit comments

Comments
 (0)