Skip to content

test(tree-view): coverage for expandAll and expandNodes (#2063) #121

test(tree-view): coverage for expandAll and expandNodes (#2063)

test(tree-view): coverage for expandAll and expandNodes (#2063) #121

Workflow file for this run

on:
pull_request:
push:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
id: npm-cache
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
run: npm install
- name: Run lint
run: npm run lint
- name: Unit tests
run: npm run test
- name: Test generated source types
run: npm run test:src-types
- name: Test types
run: npm run test:types
- name: Trigger deploy
if: github.ref == 'refs/heads/master'
env:
deploy_url: ${{ secrets.RENDER_DEPLOY_HOOK_URL }}
run: |
curl "$deploy_url"