Skip to content

Commit

Permalink
ci: skip bs in forks
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Jul 8, 2022
1 parent 0f053db commit 51193e5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand Down

0 comments on commit 51193e5

Please sign in to comment.