Skip to content

Commit

Permalink
ci(publish): test with @morpho-org/test
Browse files Browse the repository at this point in the history
  • Loading branch information
Rubilmax committed Oct 18, 2024
1 parent 9761ba2 commit d5f7955
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc

- run: pnpm -r --parallel --no-reporter-hide-prefix -c exec 'node ../../release.js'
- run: pnpm --filter '@morpho-org/test*' --no-reporter-hide-prefix -c exec 'node ../../release.js'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

7 changes: 3 additions & 4 deletions release.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ if (releaseType) {
"0",
);

console.debug("version", version);
console.debug("newVersion", newVersion);
console.debug(
`Version bump from ${version} to ${newVersion} on branch ${branch} (release type: ${releaseType})`,
);

let { stderr, stdout, error } = spawnSync("pnpm", ["version", newVersion], {
encoding: "utf8",
Expand All @@ -50,8 +51,6 @@ if (releaseType) {
if (stderr) console.error(stderr);
if (stdout) console.log(stdout);

process.exit(0);

({ stderr, stdout, error } = spawnSync(
"pnpm",
[
Expand Down

0 comments on commit d5f7955

Please sign in to comment.