Skip to content

Commit

Permalink
chore: Publish to jsr with allow-dirty (#442)
Browse files Browse the repository at this point in the history
This is needed otherwise the gha
[fails](https://github.com/launchdarkly/js-core/actions/runs/8758581209/job/24039697071#step:10:51):

```bash
npm WARN exec The following package was not found and will be installed: [email protected]
Downloading JSR binary...
Download completed
Checking for slow types in the public API...
error: Aborting due to uncommitted changes. Check in source code or run with --allow-dirty # <-- error here
Child process exited with: 1
jsr publish failed
Error: Process completed with exit code 1.
```
  • Loading branch information
yusinto authored Apr 22, 2024
1 parent d258992 commit 1587216
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/publish-jsr.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env bash

if [ -f "./$WORKSPACE_PATH/jsr.json" ]; then
yarn workspace $WORKSPACE pack
cd $WORKSPACE_PATH

if $LD_RELEASE_IS_DRYRUN ; then
Expand Down

0 comments on commit 1587216

Please sign in to comment.