Skip to content

Commit 6ab0a38

Browse files
committed
Fix CI
1 parent 0ad9a8c commit 6ab0a38

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
node-version:
13-
- 21
13+
- 24
1414
- 20
15-
- 18
1615
steps:
17-
- uses: actions/checkout@v4
18-
- uses: actions/setup-node@v4
16+
- uses: actions/checkout@v6
17+
- uses: actions/setup-node@v6
1918
with:
2019
node-version: ${{ matrix.node-version }}
2120
- run: git config --global user.name "Github Actions"

test/config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ test('returns config from home directory when global binary is used and `.np-con
6363
useGlobalBinary, 'homedir3', 'homedir/.np-config.cjs',
6464
);
6565

66-
test.failing('returns config from home directory when global binary is used and `.np-config.js` as ESM exists in home directory',
66+
test('returns config from home directory when global binary is used and `.np-config.js` as ESM exists in home directory',
6767
useGlobalBinary, 'homedir4', 'homedir/.np-config.js',
6868
);
6969

@@ -72,7 +72,7 @@ test('returns config from home directory when global binary is used and `.np-con
7272
);
7373

7474
test('returns config from package directory when local binary is used and `package.json` exists in package directory',
75-
useLocalBinary, 'package-directory', 'package.json',
75+
useLocalBinary, 'pkg-dir', 'package.json',
7676
);
7777

7878
test('returns config from package directory when local binary is used and `.np-config.json` exists in package directory',

0 commit comments

Comments
 (0)