mirror of
https://github.com/zen-browser/www.git
synced 2025-07-07 17:05:32 +02:00
chore(ci): add GITHUB_TOKEN to CI build environment and update GitHub Checksums authorization
This commit is contained in:
parent
a6292e79ce
commit
50df285dec
2 changed files with 3 additions and 0 deletions
2
.github/workflows/ci-pipeline.yml
vendored
2
.github/workflows/ci-pipeline.yml
vendored
|
@ -169,6 +169,8 @@ jobs:
|
|||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Build project
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: pnpm exec turbo run build
|
||||
|
||||
- name: Upload build artifacts
|
||||
|
|
|
@ -18,6 +18,7 @@ export async function getChecksums() {
|
|||
Accept: 'application/vnd.github+json',
|
||||
'X-GitHub-Api-Version': '2022-11-28',
|
||||
'User-Agent': 'zen-browser-checksum-fetcher',
|
||||
Authorization: `Bearer ${process.env.GITHUB_TOKEN}`,
|
||||
},
|
||||
})
|
||||
if (!res.ok) throw new Error(`Failed to fetch GitHub release: ${res.statusText}`)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue