Fix no auto-focus of search filter on issue/PR properties #27 #20
This file contains hidden or 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: build | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dorny/paths-filter@v3 | |
| id: changes | |
| with: | |
| filters: | | |
| src: | |
| - ".github/workflows/*.yml" | |
| - "scripts/*" | |
| - "src/**/*.ts" | |
| - "styles/**/*.ts" | |
| - "themes/*.css.ts" | |
| - "vite.config.ts" | |
| - "package.json" | |
| - name: Build theme | |
| id: build | |
| if: steps.changes.outputs.src == 'true' | |
| run: | | |
| npm install | |
| npm run build | |
| - name: Upload css assets | |
| if: steps.build.outcome == 'success' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: themes | |
| path: dist/*.css | |
| - name: Upload templates assets | |
| if: steps.build.outcome == 'success' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: templates | |
| path: templates | |
| - name: Build locales | |
| id: locales | |
| if: steps.build.outcome =='success' | |
| run: npm run tr | |
| - name: Upload locales assets | |
| if: steps.locales.outcome =='success' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: locales | |
| path: dist/options/locale |