File tree Expand file tree Collapse file tree 3 files changed +18
-15
lines changed Expand file tree Collapse file tree 3 files changed +18
-15
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " create-cloudflare " : patch
3+ " wrangler " : patch
4+ ---
5+
6+ fix: include telemetry-related environment variables in release builds
Original file line number Diff line number Diff line change 3434 env :
3535 CI_OS : ${{ runner.os }}
3636 SOURCEMAPS : " false"
37+ ALGOLIA_APP_ID : ${{ secrets.ALGOLIA_APP_ID }}
38+ ALGOLIA_PUBLIC_KEY : ${{ secrets.ALGOLIA_PUBLIC_KEY }}
39+ SENTRY_DSN :
" https://[email protected] /583" 40+ NODE_ENV : " production"
41+ # This is the "production" key for sparrow analytics.
42+ # Include this here because this step will rebuild Wrangler and needs to have this available
43+ SPARROW_SOURCE_KEY : " 50598e014ed44c739ec8074fdc16057c"
3744
3845 - name : Create Version PR or Publish to NPM
3946 id : changesets
4451 env :
4552 GITHUB_TOKEN : ${{ secrets.GH_ACCESS_TOKEN }}
4653 NODE_AUTH_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN }}
47- ALGOLIA_APP_ID : ${{ secrets.ALGOLIA_APP_ID }}
48- ALGOLIA_PUBLIC_KEY : ${{ secrets.ALGOLIA_PUBLIC_KEY }}
49- SENTRY_DSN :
" https://[email protected] /583" 50-
51- NODE_ENV : " production"
52- # This is the "production" key for sparrow analytics.
53- # Include this here because this step will rebuild Wrangler and needs to have this available
54- SPARROW_SOURCE_KEY : " 50598e014ed44c739ec8074fdc16057c"
5554
5655 - name : Deploy non-NPM Packages
5756 id : deploy
Original file line number Diff line number Diff line change 4242 env :
4343 NODE_ENV : " production"
4444 CI_OS : ${{ runner.os }}
45+ # this is the "test/staging" key for sparrow analytics
46+ SPARROW_SOURCE_KEY : " 5adf183f94b3436ba78d67f506965998"
47+ ALGOLIA_APP_ID : ${{ secrets.ALGOLIA_APP_ID }}
48+ SENTRY_DSN :
" https://[email protected] /583" 49+ ALGOLIA_PUBLIC_KEY : ${{ secrets.ALGOLIA_PUBLIC_KEY }}
4550
4651 - name : Check for errors
4752 run : pnpm run check
5257 run : pnpm --filter wrangler publish --tag beta
5358 env :
5459 NODE_AUTH_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN }}
55- # this is the "test/staging" key for sparrow analytics
56- SPARROW_SOURCE_KEY : " 5adf183f94b3436ba78d67f506965998"
57- ALGOLIA_APP_ID : ${{ secrets.ALGOLIA_APP_ID }}
58- SENTRY_DSN :
" https://[email protected] /583" 59- ALGOLIA_PUBLIC_KEY : ${{ secrets.ALGOLIA_PUBLIC_KEY }}
6060
6161 - name : Publish miniflare@beta to NPM
6262 run : pnpm --filter miniflare publish --tag beta
6767 run : pnpm --filter create-cloudflare publish --tag beta
6868 env :
6969 NODE_AUTH_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN }}
70- # this is the "test/staging" key for sparrow analytics
71- SPARROW_SOURCE_KEY : " 5adf183f94b3436ba78d67f506965998"
7270
7371 - name : Publish workers-shared@beta to NPM
7472 run : pnpm --filter workers-shared publish --tag beta
You can’t perform that action at this time.
0 commit comments