From 6023117d2956733fcb35c7ca1baeabf00b7dd90d Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Sun, 21 Feb 2021 08:17:41 -0500 Subject: [PATCH] CI: Use `saucelabs/sauce-connect-action` to create the tunnel (#4833) --- .github/workflows/frontend-admin-tests.yml | 12 +++++------- .github/workflows/frontend-tests.yml | 12 +++++------- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/.github/workflows/frontend-admin-tests.yml b/.github/workflows/frontend-admin-tests.yml index 0592d03f4..bbe3d23f4 100644 --- a/.github/workflows/frontend-admin-tests.yml +++ b/.github/workflows/frontend-admin-tests.yml @@ -15,13 +15,11 @@ jobs: with: node-version: 12 - - name: Run sauce-connect-action - shell: bash - env: - SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }} - SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }} - TRAVIS_JOB_NUMBER: ${{ github.run_id }}-${{ github.run_number }}-${{ github.job }} - run: src/tests/frontend/travis/sauce_tunnel.sh + - uses: saucelabs/sauce-connect-action@v1.1.2 + with: + username: ${{ secrets.SAUCE_USERNAME }} + accessKey: ${{ secrets.SAUCE_ACCESS_KEY }} + tunnelIdentifier: ${{ github.run_id }}-${{ github.run_number }}-${{ github.job }} - name: Install all dependencies and symlink for ep_etherpad-lite run: src/bin/installDeps.sh diff --git a/.github/workflows/frontend-tests.yml b/.github/workflows/frontend-tests.yml index 60429ab23..6ddd9cf68 100644 --- a/.github/workflows/frontend-tests.yml +++ b/.github/workflows/frontend-tests.yml @@ -15,13 +15,11 @@ jobs: with: node-version: 12 - - name: Run sauce-connect-action - shell: bash - env: - SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }} - SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }} - TRAVIS_JOB_NUMBER: ${{ github.run_id }}-${{ github.run_number }}-${{ github.job }} - run: src/tests/frontend/travis/sauce_tunnel.sh + - uses: saucelabs/sauce-connect-action@v1.1.2 + with: + username: ${{ secrets.SAUCE_USERNAME }} + accessKey: ${{ secrets.SAUCE_ACCESS_KEY }} + tunnelIdentifier: ${{ github.run_id }}-${{ github.run_number }}-${{ github.job }} - name: Install all dependencies and symlink for ep_etherpad-lite run: src/bin/installDeps.sh