File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 81
81
aws_assume_role : ${{ vars.AWS_ROLE_ARN }}
82
82
ssm_parameter_pairs : ' /production/common/releasing/npm/token = NODE_AUTH_TOKEN'
83
83
- name : Setup .yarnrc.yml
84
+ if : ${{ inputs.package_registry == 'npm' }}
84
85
shell : bash
85
86
run : |
86
87
yarn config set npmScopes.launchdarkly.npmRegistryServer "https://registry.npmjs.org"
Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ if [ -f "./$WORKSPACE_PATH/jsr.json" ]; then
5
5
6
6
if $LD_RELEASE_IS_DRYRUN ; then
7
7
echo " Doing a dry run of jsr publishing."
8
- npx jsr publish --dry-run || { echo " jsr publish failed" >&2 ; exit 1; }
8
+ npx jsr publish --dry-run --allow-dirty || { echo " jsr publish failed" >&2 ; exit 1; }
9
9
elif [ -f " ./$WORKSPACE_PATH /jsr.json" ]; then
10
10
echo " Publishing to jsr."
11
- npx jsr publish || { echo " jsr publish failed" >&2 ; exit 1; }
11
+ npx jsr publish --allow-dirty || { echo " jsr publish failed" >&2 ; exit 1; }
12
12
fi
13
13
else
14
14
echo " Skipping jsr."
You can’t perform that action at this time.
0 commit comments