feat(vue3): migrate petstore to Vue 3 + @conduction/nextcloud-vue 2.1… #9
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: Code Quality | |
| on: | |
| push: | |
| branches: [main, development, feature/**, bugfix/**, hotfix/**] | |
| pull_request: | |
| branches: [main, master, development, beta] | |
| workflow_dispatch: | |
| jobs: | |
| quality: | |
| uses: ConductionNL/.github/.github/workflows/quality.yml@main | |
| with: | |
| # Was `app-template`, a leftover from the scaffold this repo was cloned | |
| # from. The shared workflow checks the repo out at | |
| # `server/apps/${{ inputs.app-name }}` and resolves every artifact path | |
| # (e.g. the Playwright report upload) from it, so the whole pipeline ran | |
| # against a directory that is not this app's id. | |
| app-name: petstore | |
| php-version: "8.3" | |
| php-test-versions: '["8.3", "8.4"]' | |
| nextcloud-test-refs: '["stable31", "stable32", "stable33"]' | |
| enable-psalm: true | |
| enable-phpstan: true | |
| enable-phpmetrics: true | |
| enable-frontend: true | |
| enable-eslint: true | |
| # `frontend-checks` defaults to [], so petstore's Vitest suite (15 tests | |
| # across the settings store and two mounted SFCs) and its manifest / | |
| # register / registry validators had NEVER run on a pull request — only | |
| # eslint and stylelint did. Both scripts are self-contained (each leg is a | |
| # fresh checkout + `npm ci`). | |
| frontend-checks: '["test:unit", "check:specs"]' | |
| enable-phpunit: true | |
| enable-newman: true | |
| # additional-apps: '[]' # Add app dependencies here if needed, e.g.: | |
| # additional-apps: '[{"repo":"ConductionNL/openregister","app":"openregister","ref":"main"}]' | |
| enable-sbom: true |