Skip to content

Commit faf0ee9

Browse files
committed
Fix incorrect cd command
1 parent e72fa00 commit faf0ee9

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

.github/actions/info/dist.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ async function findPackages(directory, maxDepth) {
1515
try {
1616
const { default: { name } } = await import(fullPath, { with: { type: "json" } });
1717
if (name) {
18-
yield { name, directory };
18+
yield { name, directory: currentDir };
1919
return;
2020
}
2121
;

.github/actions/info/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ async function findPackages(directory: string, maxDepth?: number) {
2424
try {
2525
const { default: { name } } = await import(fullPath, { with: { type: 'json' }});
2626
if (name) {
27-
yield { name, directory };
27+
yield { name, directory: currentDir };
2828
return;
2929
};
3030
} catch {}

.github/workflows/new-workflow.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,3 @@ jobs:
7272
cd ${{ matrix.package.directory }}
7373
yarn tsc
7474
yarn test
75-
76-
77-

0 commit comments

Comments
 (0)