]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
ci: skip bs in forks
authorEduardo San Martin Morote <posva13@gmail.com>
Fri, 8 Jul 2022 14:14:58 +0000 (16:14 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Fri, 8 Jul 2022 14:14:58 +0000 (16:14 +0200)
.github/workflows/test.yml

index 9edc8d502c97abe72a4d4ea07731fffb8dbb5f0c..8793770019cc37de50879ed84bd2ceb83a0eb181 100644 (file)
@@ -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