Merge pull request #219 from andorthehood/copilot/add-comment-code-bl… #1461
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: Test | |
| "on": | |
| push: | |
| branches: [main, staging] | |
| pull_request: | |
| branches: [main, staging] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: '.nvmrc' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build config package | |
| run: npx nx run @8f4e/config:build | |
| - name: Run linting | |
| run: npx eslint "**/*.ts" --fix | |
| - name: Run typecheck | |
| run: npx nx run-many --target=typecheck --all | |
| - name: Run tests | |
| run: npx nx run-many --target=test --all --exclude=@8f4e/web-ui | |
| timeout-minutes: 10 |