mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-22 13:49:46 +00:00
Fix CI in forks
This commit is contained in:
@@ -45,10 +45,12 @@ jobs:
|
||||
app-id: ${{ vars.APP_ID }}
|
||||
private-key: ${{ secrets.APP_PRIVATE_KEY }}
|
||||
- run: npm ci
|
||||
- name: Test coverage
|
||||
uses: ArtiomTr/jest-coverage-report-action@262a7bb0b20c4d1d6b6b026af0f008f78da72788
|
||||
- uses: ArtiomTr/jest-coverage-report-action@262a7bb0b20c4d1d6b6b026af0f008f78da72788
|
||||
if: ${{ github.repository != 'openfrontio/OpenFrontIO' }}
|
||||
- uses: ArtiomTr/jest-coverage-report-action@262a7bb0b20c4d1d6b6b026af0f008f78da72788
|
||||
if: ${{ github.repository == 'openfrontio/OpenFrontIO' }}
|
||||
with:
|
||||
github-token: ${{ github.repository == 'openfrontio/OpenFrontIO' && steps.generate-token.outputs.token || env.GITHUB_TOKEN }}
|
||||
github-token: ${{ steps.generate-token.outputs.token }}
|
||||
|
||||
eslint:
|
||||
name: 🔍 ESLint
|
||||
|
||||
Reference in New Issue
Block a user