Skip to content

Commit f49df65

Browse files
fix(ci): correct npm script syntax in changesets action (#3)
the changesets github action was calling npm commands directly instead of npm scripts, causing 'Unknown command' errors. updated to use 'npm run' prefix for changeset:version and changeset:publish commands.
1 parent b1d73d5 commit f49df65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
3939
id: changesets
4040
uses: changesets/action@v1
4141
with:
42-
publish: npm changeset:publish
43-
version: npm changeset:version
42+
publish: npm run changeset:publish
43+
version: npm run changeset:version
4444
commit: "chore: version packages"
4545
title: "chore: version packages"
4646
env:

0 commit comments

Comments
 (0)