Skip to content

Commit 9cd9490

Browse files
committed
💚 Try to fix deploy
1 parent d692df3 commit 9cd9490

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

scripts/jobs/deploy.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@ export async function deploy() {
2828
packages.map(async (packageName) => {
2929
const cwd = path.resolve(`${packageName}/package`);
3030

31-
await execute(`npm publish --access public`, { cwd });
31+
console.log("NODE_AUTH_TOKEN", process.env.NODE_AUTH_TOKEN);
32+
33+
await execute(`npm publish --access public`, {
34+
cwd,
35+
env: {
36+
...process.env,
37+
},
38+
});
3239
print`[blue: [bold:${packageName}] • Publication successful 🤗]`;
3340
}),
3441
);

0 commit comments

Comments
 (0)