Skip to content

Commit a18a745

Browse files
committed
Add important flags to release script line
1 parent ec94f5f commit a18a745

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release-staging.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,12 @@ jobs:
6060
run: |
6161
echo "Staging release ${{ steps.get-version.outputs.STAGING_VERSION }}"
6262
- name: Publish to NPM
63-
run: yarn release --releaseType staging
63+
# --skipTests No need to run tests
64+
# --skipReinstall Yarn install has already been run
65+
# --ignoreUnstaged Adding the @firebase/app changeset file means
66+
# there's unstaged changes. Ignore.
67+
# TODO: Make these flags defaults in the release script.
68+
run: yarn release --releaseType staging --skipTests --skipReinstall --ignoreUnstaged
6469
env:
6570
NPM_TOKEN_ANALYTICS: ${{secrets.NPM_TOKEN_ANALYTICS}}
6671
NPM_TOKEN_ANALYTICS_INTEROP_TYPES: ${{secrets.NPM_TOKEN_ANALYTICS_INTEROP_TYPES}}

0 commit comments

Comments
 (0)