File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ jobs:
105105 # Used for API requests that require GitHub API scopes
106106 NEXT_GITHUB_API_KEY : ${{ secrets.GITHUB_TOKEN }}
107107 # Codecov
108- ANALYZE : ${{ matrix.os == 'ubuntu-latest' && github.event_name != 'merge_group' }}
108+ NEXT_PUBLIC_ANALYZE : ${{ matrix.os == 'ubuntu-latest' && github.event_name != 'merge_group' }}
109109
110110 - name : Build Next.js (Static All Locales)
111111 # We only run full static builds within Pull Requests. This step is also used to export
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ const nextConfig = {
9898 ] ,
9999 } ,
100100 webpack : ( config , options ) => {
101- if ( process . env . ANALYZE ) {
101+ if ( process . env . NEXT_PUBLIC_ANALYZE ) {
102102 config . plugins . push (
103103 codecovNextJSWebpackPlugin ( {
104104 enableBundleAnalysis : true ,
You can’t perform that action at this time.
0 commit comments