Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
run: pnpm install --frozen-lockfile

- name: Build
run: pnpm run build
run: echo TOKEN $TELEMETRY_TRACKING_TOKEN && pnpm run build

- name: Lint
run: pnpm run lint
Expand Down
4 changes: 4 additions & 0 deletions packages/cli/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ export default defineConfig({
clean: true,
dts: true,
format: ['esm', 'cjs'],
env: {
TELEMETRY_TRACKING_TOKEN: process.env['TELEMETRY_TRACKING_TOKEN'] ?? '',
},
onSuccess: async () => {
console.log('TELEMETRY_TRACKING_TOKEN:', process.env['TELEMETRY_TRACKING_TOKEN']);
if (!process.env['TELEMETRY_TRACKING_TOKEN']) {
return;
}
Expand Down