Skip to content

Commit 832434e

Browse files
committed
update
1 parent 34e9842 commit 832434e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/build-test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
- main
77
- dev
88

9+
env:
10+
TELEMETRY_TRACKING_TOKEN: ${{ secrets.TELEMETRY_TRACKING_TOKEN }}
11+
DO_NOT_TRACK: '1'
12+
913
permissions:
1014
contents: read
1115

@@ -64,8 +68,6 @@ jobs:
6468
run: pnpm install --frozen-lockfile
6569

6670
- name: Build
67-
env:
68-
TELEMETRY_TRACKING_TOKEN: ${{ secrets.TELEMETRY_TRACKING_TOKEN }}
6971
run: echo TOKEN $TELEMETRY_TRACKING_TOKEN && pnpm run build
7072

7173
- name: Lint

packages/cli/scripts/post-build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import fs from 'node:fs';
22
import path from 'node:path';
33
import { fileURLToPath } from 'node:url';
44

5-
const token = process.env['TELEMETRY_TRACKING_TOKEN'] ?? '';
5+
const token = process.env.TELEMETRY_TRACKING_TOKEN ?? '';
66

77
console.log('TELEMETRY_TRACKING_TOKEN:', token?.[0]);
88

0 commit comments

Comments
 (0)