Skip to content

Commit 52efa49

Browse files
committed
Use corepack yarn avoiding problem with NodeJS 25 in Windows
1 parent f246618 commit 52efa49

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/nodejs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ jobs:
5959
- name: Build
6060
shell: bash
6161
run: |
62-
yarn
63-
yarn bootstrap
62+
corepack yarn
63+
corepack yarn bootstrap
6464
6565
- name: Test (Linux)
6666
if: startsWith(matrix.os, 'ubuntu-')
6767
run: |
68-
sg firebird -c "LD_LIBRARY_PATH=/usr/lib64 yarn test"
68+
sg firebird -c "LD_LIBRARY_PATH=/usr/lib64 corepack yarn test"
6969
7070
- name: Test (MacOS)
7171
if: startsWith(matrix.os, 'macos-')
@@ -75,14 +75,14 @@ jobs:
7575
export ISC_USER=sysdba
7676
export ISC_PASSWORD=masterkey
7777
export NODE_FB_TEST_TMP_DIR=`pwd`/tmp-node-fb
78-
yarn test
78+
corepack yarn test
7979
8080
- name: Test (Windows)
8181
if: startsWith(matrix.os, 'windows-')
8282
shell: cmd
8383
run: |
8484
set PATH=C:\Firebird;%PATH%
85-
call yarn test
85+
corepack yarn test
8686
8787
- name: Upload native-api-${{ matrix.os }}-${{ matrix.node-version }}
8888
uses: actions/upload-artifact@v6

0 commit comments

Comments
 (0)