diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bcca5bbbd..6e41ff3d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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