File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,13 @@ concurrency:
1515
1616jobs :
1717 publish-npm :
18+ # Job-level, not on the build step: `bun publish` runs `prepublishOnly`,
19+ # which rebuilds `dist` a second time, and that second build is the one
20+ # that ships. A build without the token reports nothing. See
21+ # docs/cli/usage-data.
22+ env :
23+ SIM_CLI_TELEMETRY_KEY : ${{ vars.SIM_CLI_TELEMETRY_KEY }}
24+ SIM_CLI_TELEMETRY_HOST : ${{ vars.SIM_CLI_TELEMETRY_HOST }}
1825 runs-on : ${{ (vars.CI_PROVIDER == '' || vars.CI_PROVIDER == 'blacksmith') && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
1926 timeout-minutes : 15
2027 steps :
6370
6471 - name : Build package
6572 working-directory : packages/sim-cli
66- env :
67- # Public PostHog project token for anonymous CLI usage reporting; a
68- # build without it reports nothing. See docs/cli/usage-data.
69- SIM_CLI_TELEMETRY_KEY : ${{ vars.SIM_CLI_TELEMETRY_KEY }}
70- SIM_CLI_TELEMETRY_HOST : ${{ vars.SIM_CLI_TELEMETRY_HOST }}
7173 run : bun run build
7274
7375 - name : Resolve release channel
You can’t perform that action at this time.
0 commit comments