Configure Sauce Connect Proxy to work with Github actions

See:
 - https://docs.saucelabs.com/secure-connections/sauce-connect/index.html
 - https://docs.saucelabs.com/dev/cli/saucectl/usage/ci/github-actions/
This commit is contained in:
Alberto Fernandez-Capel
2022-08-31 12:33:54 +01:00
parent 6fdb59c7cf
commit ea07d33b29
2 changed files with 10 additions and 8 deletions
+10
View File
@@ -15,6 +15,16 @@ 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: Basecamp-CI_tunnel_name
region: us-west
- run: yarn install
- run: bin/ci
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}