From ef60e001e1bee30a52fdeac7c8ec4d2a514c9147 Mon Sep 17 00:00:00 2001 From: pcheremu <51121511+pcheremu@users.noreply.github.com> Date: Wed, 13 Mar 2024 13:29:51 +0100 Subject: [PATCH] Update test-cli.yml --- .github/workflows/test-cli.yml | 33 ++++++++++++--------------------- 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/.github/workflows/test-cli.yml b/.github/workflows/test-cli.yml index 2ddf414..0c0ef43 100644 --- a/.github/workflows/test-cli.yml +++ b/.github/workflows/test-cli.yml @@ -52,26 +52,10 @@ jobs: name: 'Windows + Node ${{ matrix.node-version }}' steps: - uses: actions/checkout@v4 - - # - name: Check if Docker Desktop installer is cached - # id: check_cache - # uses: actions/cache@v2 - # with: - # path: C:\Users\runneradmin\AppData\Local\Temp\chocolatey\docker-desktop\4.28.0 - # key: docker-desktop-installer - - # - name: Install Docker Desktop - # if: steps.check_cache.outputs.cache-hit != 'true' - # run: | - # choco install docker-desktop -y - # Start-Sleep -s 120 - - # - name: Use cached Docker Desktop installer - # if: steps.check_cache.outputs.cache-hit == 'true' - # shell: pwsh - # run: | - # Start-Process -FilePath "C:\Users\runneradmin\AppData\Local\Temp\chocolatey\docker-desktop\4.28.0\Docker for Windows Installer.exe" -ArgumentList "install --quiet" -RedirectStandardOutput "docker.log" -Wait - + with: + repository: matter-labs/zkcli-in-memory-node + ref: main + path: zkcli-in-memory-node # - if: runner.os == 'macOS' # run: | # brew install --cask docker @@ -83,11 +67,18 @@ jobs: node-version: ${{ matrix.node-version }} cache: npm + - name: Test docker run + shell: bash + run: | + cd zkcli-in-memory-node + pwd + docker compose build --build-arg LATEST_RELEASE=v0.1.0-alpha.17 + # Second 'npm i' call is required to avoid CI issue with wrong build package version detection - name: Install dependencies and build shell: bash run: | - docker --version + pwd npm ci && npm run build && npm i -g . echo "zksync-cli version: " && npx zksync-cli --version