Skip to content

prevent click propagation and collapsing tree on mobile browsers (#70) #38

prevent click propagation and collapsing tree on mobile browsers (#70)

prevent click propagation and collapsing tree on mobile browsers (#70) #38

Workflow file for this run

name: CI
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 14.x ]
working-directory: [ '.', './test-types' ]
steps:
- name: Checkout branch
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules-${{ matrix.working-directory }}
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: npm ci
working-directory: ${{ matrix.working-directory }}
- name: Run tests
run: npm run test
working-directory: ${{ matrix.working-directory }}
timeout-minutes: 2