summaryrefslogtreecommitdiff
path: root/scripts/smoke/index.js
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthew@skypack.dev> 2022-05-03 09:07:28 -0400
committerGravatar GitHub <noreply@github.com> 2022-05-03 09:07:28 -0400
commitf76038ac7db986a13701fd316e53142b52e011c8 (patch)
tree2a4a0208e4fe14e6dce3380e02a9ac115646b18b /scripts/smoke/index.js
parent48a35e6042a6634c836ec333d18801e9d603b328 (diff)
downloadastro-f76038ac7db986a13701fd316e53142b52e011c8.tar.gz
astro-f76038ac7db986a13701fd316e53142b52e011c8.tar.zst
astro-f76038ac7db986a13701fd316e53142b52e011c8.zip
Telemetry (#3256)
* feat: add @astrojs/telemetry * feat: add telemetry events, add queueing system * feat(telemetry): record CLI events * chore: add note * feat: support generic TELEMETRY_DISABLED env var * Fix test script * shim telemetry in tests * Shim telemetry in other commands * Stub telemetry in the memory leak test * Disable telemetry in smoke tests * Adds a changeset * Run the formatter * few updates * Include config keys * Add shallow viteKeys array: : * Add vite keys and tests Co-authored-by: Nate Moore <nate@skypack.dev>
Diffstat (limited to 'scripts/smoke/index.js')
-rw-r--r--scripts/smoke/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/smoke/index.js b/scripts/smoke/index.js
index 354147cd6..d231b5e5d 100644
--- a/scripts/smoke/index.js
+++ b/scripts/smoke/index.js
@@ -47,6 +47,7 @@ async function run() {
try {
await execa('pnpm', ['install', '--ignore-scripts', '--frozen-lockfile=false', isExternal ? '--shamefully-hoist' : ''].filter(x => x), { cwd: fileURLToPath(directory), stdio: 'inherit' });
+ await execa('pnpm', ['astro', 'telemetry', 'disable']);
await execa('pnpm', ['run', 'build'], { cwd: fileURLToPath(directory), stdio: 'inherit' });
} catch (err) {
console.log(err);