Skip to content

test: command run automation #1

test: command run automation

test: command run automation #1

Workflow file for this run

name: CLI testing
on: pull_request
jobs:
preparation_and_running_tests:
permissions:
contents: read
strategy:
matrix:
os: [
matterlabs-ci-runner,
windows-2022-github-hosted-16core,
macos-12-large
]
node-version: ['lts/*', '18.17.1'] # or 18.17.1
tags: [
"default"
]
runs-on: ${{matrix.os}}
name: '${{ matrix.tags }}'
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: |
npm i zksync-cli
- name: Run tests
run: |
./src/tests/test_zksync_cli.sh
shell: bash