Skip to content

Commit

Permalink
Switch to node-linker=hoisted for Windows
Browse files Browse the repository at this point in the history
Long paths currently broken on Node.js:

nodejs/node#50753
  • Loading branch information
karlhorky committed Apr 3, 2024
1 parent dabc113 commit 3b081b8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci-windows.yml
Expand Up @@ -30,6 +30,11 @@ jobs:
node-version: 'lts/*'
cache: 'pnpm'

# Avoid Node.js bug with long filenames on Windows
# https://github.com/nodejs/node/issues/50753
- run: echo 'node-linker=hoisted' > ./.npmrc
shell: bash

- name: Install dependencies
run: pnpm install
- name: psql
Expand Down

0 comments on commit 3b081b8

Please sign in to comment.