Skip to content

Commit

Permalink
Update test-cli.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pcheremu authored Mar 13, 2024
1 parent d6e9744 commit ef60e00
Showing 1 changed file with 12 additions and 21 deletions.
33 changes: 12 additions & 21 deletions .github/workflows/test-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit ef60e00

Please sign in to comment.