Fix quick search component premature submit emit #224
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: Test Client Build | |
on: | |
push: | |
branches: [ "main" ] | |
paths: | |
- 'Tekst-Web/public/**' | |
- 'Tekst-Web/scripts/**' | |
- 'Tekst-Web/src/**' | |
- 'Tekst-Web/package.json' | |
pull_request: | |
branches: [ "main" ] | |
paths: | |
- 'Tekst-Web/public/**' | |
- 'Tekst-Web/scripts/**' | |
- 'Tekst-Web/src/**' | |
- 'Tekst-Web/package.json' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./Tekst-Web | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 20.14.0 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20.14.0' | |
cache: 'npm' | |
cache-dependency-path: './Tekst-Web/package-lock.json' | |
- run: npm install | |
- run: npm run build --if-present |