Implement new approach to airframes management #254
Workflow file for this run
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: 'integrity' | |
| on: | |
| pull_request: | |
| paths: ['**', '!**.md'] | |
| jobs: | |
| code: | |
| runs-on: 'ubuntu-24.04' | |
| environment: ci | |
| steps: | |
| - name: 'Checkout repository' | |
| uses: 'actions/checkout@v4' | |
| with: | |
| fetch-depth: 0 | |
| - name: 'Check app version' | |
| run: './docker/ci/check_version_is_free "$(jq -r ''.version'' package.json)"' | |
| - name: 'Copy environment variables' | |
| run: 'cp .env.dist .env' | |
| - name: 'Run docker compose environment' | |
| run: 'docker compose up -d --build --wait' | |
| - name: 'Run code formatting check' | |
| run: 'docker compose exec app npm run format' | |
| - name: 'Run static code analysis' | |
| run: 'docker compose exec app npm run lint' | |
| - name: 'Run functional tests' | |
| run: 'docker compose exec app npm run test:functional' |