From: Eduardo San Martin Morote Date: Fri, 8 Jul 2022 14:14:58 +0000 (+0200) Subject: ci: skip bs in forks X-Git-Tag: v4.1.2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51193e55ac633d38b5153127dfa3e8186bdcb94d;p=thirdparty%2Fvuejs%2Frouter.git ci: skip bs in forks --- diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9edc8d50..87937700 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,6 +25,8 @@ jobs: cache: 'pnpm' - name: 'BrowserStack Env Setup' uses: 'browserstack/github-actions/setup-env@master' + # forks do not have access to secrets so just skip this + if: ${{ !github.event.pull_request.head.repo.fork }} with: username: ${{ secrets.BROWSERSTACK_USERNAME }} access-key: ${{ secrets.BROWSERSTACK_ACCESS_KEY }} @@ -37,8 +39,7 @@ jobs: - run: pnpm run -r build:dts - run: pnpm run -r test:dts - # E2E testing - + # e2e tests that that run locally - run: pnpm run -r test:e2e:ci - uses: codecov/codecov-action@v2