Skip to content

Commit

Permalink
Add github-token to fix ripgrep download ratelimit issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tortmayr committed Jun 20, 2024
1 parent 0748d49 commit 96eab63
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,11 @@ pipeline {
steps {
timeout(30) {
container('node') {
sh "yarn install --unsafe-perm"
sh "yarn electron build"
sh "yarn browser build"
withCredentials([string(credentialsId: "github-bot", variable: 'GITHUB_TOKEN')]) {
sh "yarn install --unsafe-perm"
sh "yarn electron build"
sh "yarn browser build"
}
script {
// Fail the step if there are uncommited changes to the yarn.lock file
if (sh(returnStatus: true, script: 'git diff --name-only | grep -q "^yarn.lock"') == 0) {
Expand Down

0 comments on commit 96eab63

Please sign in to comment.