[@mantine/spotlight] createSpotlight : Reset the selected index when using the toggle function #155
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: Pull request workflow | |
on: | |
pull_request: | |
branches: | |
- '**' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.number || github.sha }} | |
cancel-in-progress: true | |
jobs: | |
test_pull_request: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'yarn' | |
cache-dependency-path: '**/yarn.lock' | |
- name: Install dependencies | |
run: yarn | |
- name: Generate files for docs | |
run: npm run setup | |
- name: Build public packages | |
run: npm run build all | |
- name: Run tests | |
run: npm test |