Skip to content

Add some sensible timeouts to actions that call out to external servi… #686

Add some sensible timeouts to actions that call out to external servi…

Add some sensible timeouts to actions that call out to external servi… #686

Workflow file for this run

name: Saucelabs
on:
workflow_dispatch:
push:
branches:
- main
- restructure
jobs:
build_test:
name: Build & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- run: npm ci
- name: test
timeout-minutes: 20
env:
CI: true
COVERAGE: true
FLAKEY: false
RUN_SAUCE_LABS: true
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
# Not using `npm test` since it rebuilds source which npm ci has already done
run: npm run test:unit