diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa4f542fd..bab0b87ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,11 @@ jobs: with: path: test/node_modules key: ${{ runner.os }}-${{ hashFiles('test/yarn.lock') }} + - uses: saucelabs/sauce-connect-action@v2 + with: + username: ${{ secrets.SAUCE_USERNAME }} + accessKey: ${{ secrets.SAUCE_ACCESS_KEY }} + tunnelName: github-action-tunnel - run: yarn install - run: bin/ci diff --git a/bin/ci b/bin/ci index 300c587cd..0fa3b7db7 100755 --- a/bin/ci +++ b/bin/ci @@ -13,12 +13,4 @@ if [ -n "$CI" ]; then echo "GITHUB_BASE_REF: $GITHUB_BASE_REF" fi -if [ -n "$CI" ] && [ "$GITHUB_REF" == "refs/heads/main" ] && [ -z "$GITHUB_HEAD_REF" ]; then - $(base64 --decode <<< ZXhwb3J0IFNBVUNFX1VTRVJOQU1FPWJhc2VjYW1wX3RyaXgK) - $(base64 --decode <<< ZXhwb3J0IFNBVUNFX0FDQ0VTU19LRVk9MjY3OGE4NzMtNzJmNC00NzU2LTkzYjUtZjFhOGUyZTc3ODIxCg==) -else - $(base64 --decode <<< ZXhwb3J0IFNBVUNFX1VTRVJOQU1FPWJhc2VjYW1wX3RyaXhfZGV2Cg==) - $(base64 --decode <<< ZXhwb3J0IFNBVUNFX0FDQ0VTU19LRVk9NTIzODNlNTItZTM4NC00MzZjLWFkMmUtMGZmNTcyNjIyNjc5Cg==) -fi - yarn test