Backport 10 16 (#4351) #729
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Saucelabs | |
on: | |
push: | |
branches: | |
- master | |
- v11 | |
jobs: | |
build_test: | |
name: Build & Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 14.x | |
cache: npm | |
- run: npm ci | |
- name: test | |
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 |