Change build profile to activeBuildProfile and improve validation (#520) #643
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: π©βπ» | |
| on: | |
| push: { branches: [main] } | |
| pull_request: {} | |
| jobs: | |
| codeFormatting: | |
| name: Code formatting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'yarn' | |
| - run: yarn | |
| - run: yarn verify:formatting | |
| codeStyles: | |
| name: Code styles | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'yarn' | |
| - run: yarn | |
| - run: yarn verify:code-styles | |
| types: | |
| name: Types check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'yarn' | |
| - run: yarn | |
| - run: yarn typecheck | |
| tests: | |
| name: Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'yarn' | |
| - run: yarn | |
| - run: yarn test --coverage | |
| - run: bash <(curl -s https://codecov.io/bash) | |
| env: | |
| CODECOV_TOKEN: '2f2eb890-30e2-4724-83eb-7633832cf0de' |