Skip to content

Commit

Permalink
chore: use karmarunnerbot's token for semantic-release actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Ginsburg committed Oct 20, 2021
1 parent d69b77a commit 1024b08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,8 @@ jobs:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCS_GITHUB_TOKEN: ${{ secrets.DOCS_GITHUB_TOKEN }}
KARMARUNNERBOT_GITHUB_TOKEN: ${{ secrets.KARMARUNNERBOT_GITHUB_TOKEN }}
KARMA_TEST_NO_FALLBACK: 1
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
cache: npm
- run: npm ci
- run: npm run lint
- run: npm run build:check
- run: npm run test:unit
- run: npm run test:e2e
- run: npm run test:client
- run: npm run test:integration
- run: npm run semantic-release
- run: env GITHUB_TOKEN=$KARMARUNNERBOT_GITHUB_TOKEN npm run semantic-release
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@
"build:check": "node scripts/client.js check",
"build:watch": "node scripts/client.js watch",
"test:integration": "./scripts/integration-tests.sh",
"semantic-release": "semantic-release",
"semantic-release": "curl -i -H \"Authorization: token $GITHUB_TOKEN\" https://api.github.com/user",
"commitlint": "commitlint"
}
}
}

0 comments on commit 1024b08

Please sign in to comment.