File tree Expand file tree Collapse file tree 5 files changed +10
-0
lines changed
Expand file tree Collapse file tree 5 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 2121
2222 - name : 📦 Install dependencies
2323 run : pnpm install
24+ env :
25+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2426
2527 - name : 🔠 Lint project (+ fix)
2628 run : pnpm run lint:fix
Original file line number Diff line number Diff line change 2626
2727 - name : 📦 Install dependencies
2828 run : pnpm install
29+ env :
30+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2931
3032 - name : 🛠 Build project
3133 run : pnpm build
Original file line number Diff line number Diff line change 9393
9494 - name : 📦 Install dependencies
9595 run : pnpm install
96+ env :
97+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9698
9799 - name : 🛠 Build project
98100 run : pnpm build
Original file line number Diff line number Diff line change 2929
3030 - name : 📦 Install dependencies
3131 run : pnpm install
32+ env :
33+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3234
3335 - name : 🛠 Build project
3436 run : pnpm build
Original file line number Diff line number Diff line change 1+ import process from 'node:process'
12import { $fetch } from 'ofetch'
23
34export const hiddenTemplates = [
@@ -25,6 +26,7 @@ const fetchOptions = {
2526 responseType : 'json' ,
2627 headers : {
2728 'user-agent' : '@nuxt/cli' ,
29+ ...process . env . GITHUB_TOKEN ? { authorization : `token ${ process . env . GITHUB_TOKEN } ` } : { } ,
2830 } ,
2931} as const
3032
You can’t perform that action at this time.
0 commit comments