Skip to content

build: align CLI configuration with Angular 18 #3

build: align CLI configuration with Angular 18

build: align CLI configuration with Angular 18 #3

Workflow file for this run

name: SauceLabs
on:
push:
branches:
- master
pull_request_target:
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
saucelabs:
runs-on: ubuntu-latest
name: SauceLabs
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn --frozen-lockfile
- uses: saucelabs/sauce-connect-action@v2
with:
username: ${{ env.SAUCE_USERNAME }}
accessKey: ${{ env.SAUCE_ACCESS_KEY }}
tunnelIdentifier: ${{ github.run_id }}
- run: yarn saucelabs
- uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: sauce-connect-log
path: /tmp/sauce-connect-action**/sauce-connect.log