Adjust threshold logic to improve one-dimensional selections (#46) #141
Workflow file for this run
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: End-to-end tests | |
on: [push] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Cache root dependencies | |
id: root-cache | |
uses: actions/cache@v3 | |
with: | |
path: ./node_modules | |
key: modules-${{ hashFiles('package-lock.json') }} | |
- name: Install root dependencies | |
if: steps.root-cache.outputs.cache-hit != 'true' | |
run: npm ci --ignore-scripts | |
- name: Cache example dependencies | |
id: example-cache | |
uses: actions/cache@v3 | |
with: | |
path: example/node_modules | |
key: modules-${{ hashFiles('example/package-lock.json') }} | |
- name: Install example dependencies | |
if: steps.example-cache.outputs.cache-hit != 'true' | |
run: cd example; npm ci --ignore-scripts | |
- name: Build project | |
run: npm run build | |
- name: Cypress run | |
uses: cypress-io/github-action@v4 | |
with: | |
browser: chrome | |
start: npm run ci:start-example | |
wait-on: 'http://localhost:3000' |