diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2298886..7f7d12b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -25,16 +25,19 @@ jobs: with: node-version: '20' - - name: Configure Git for HTTPS + - name: Configure Git to use HTTPS instead of SSH run: | - git config --global url."https://github.com/".insteadOf ssh://git@github.com/ + git config --global url."https://github.com/".insteadOf git@github.com: git config --global url."https://".insteadOf git:// - name: Setup pnpm uses: pnpm/action-setup@v4 with: version: 9 - + run_install: | + - recursive: true + args: [--frozen-lockfile=false] + - name: Get pnpm store directory id: pnpm-cache run: | @@ -49,7 +52,9 @@ jobs: ${{ runner.os }}-pnpm-store- - name: Install dependencies - run: pnpm install + run: pnpm install --no-frozen-lockfile + env: + NPM_CONFIG_LEGACY_PEER_DEPS: true - name: Setup Git user run: | diff --git a/.npmrc b/.npmrc index 4464e3d..1cfbd6f 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1,2 @@ -electron_mirror=https://npmmirror.com/mirrors/electron/ +shamefully-hoist=true +strict-peer-dependencies=false \ No newline at end of file diff --git a/package.json b/package.json index ca82366..48239ea 100644 --- a/package.json +++ b/package.json @@ -88,6 +88,11 @@ "engines": { "node": ">=20.0.0" }, + "pnpm": { + "overrides": { + "node-gyp": "latest" + } + }, "dependencies": { "@mdi/font": "^7.4.47", "@vueuse/core": "^14.0.0",