Skip to content

Commit 955145d

Browse files
committed
fixup! remove unnecessary code comment
1 parent d2758dd commit 955145d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/ci.yaml

+1-6
Original file line numberDiff line numberDiff line change
@@ -194,12 +194,7 @@ jobs:
194194
name: "npm-package"
195195
path: release-npm-package
196196

197-
- name:
198-
Set NPM_ENVIRONMENT
199-
# The way this logic works is it checks if the GitHub event is a push to the `main` branch
200-
# if so, we're in the staging environment (i.e. running in CI on merge into `main`)
201-
# otherwise it's running in CI on a PR event, meaning development environment
202-
# Source: https://kevsoft.net/2020/06/10/running-github-action-steps-and-jobs-only-on-push-to-master.html
197+
- name: Set NPM_ENVIRONMENT
203198
run: |
204199
if [[ $GITHUB_EVENT_NAME == 'push' && $GITHUB_REF == 'refs/heads/master' ]]; then
205200
echo "NPM_ENVIRONMENT=staging" >> "$GITHUB_ENV"

0 commit comments

Comments
 (0)