Skip to content

Merge pull request #4377 from preactjs/ci/compressed-size #738

Merge pull request #4377 from preactjs/ci/compressed-size

Merge pull request #4377 from preactjs/ci/compressed-size #738

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