diff --git a/.github/workflows/create-artifact.yml b/.github/workflows/create-artifact.yml index 125e89b..dd279ae 100644 --- a/.github/workflows/create-artifact.yml +++ b/.github/workflows/create-artifact.yml @@ -50,7 +50,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v3 with: - node-version: "22.x" + node-version: "lts/*" - name: Setup safe-chain run: | @@ -60,8 +60,7 @@ jobs: - name: Install dependencies run: npm ci --ignore-scripts - - name: Create binary (Unix) - if: matrix.os != 'win' + - name: Create binary run: | node build.js ${{ matrix.target }} diff --git a/packages/safe-chain/src/shell-integration/setup.js b/packages/safe-chain/src/shell-integration/setup.js index cd54bb8..f8072db 100644 --- a/packages/safe-chain/src/shell-integration/setup.js +++ b/packages/safe-chain/src/shell-integration/setup.js @@ -5,7 +5,6 @@ import { knownAikidoTools, getPackageManagerList } from "./helpers.js"; import fs from "fs"; import os from "os"; import path from "path"; -import { fileURLToPath } from "url"; import { includePython } from "../config/cliArguments.js"; /**