chore: update GitHub workflows for coverage, deployment, and testing #193
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: default | |
| on: | |
| push: | |
| branches: | |
| - feature/* | |
| - bugfix/* | |
| - release/* | |
| - hotfix/* | |
| - develop | |
| - main | |
| concurrency: | |
| group: ci-${{ github.head_ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-subgraph: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'npm' | |
| - name: Init | |
| run: npm ci | |
| - name: Check Format | |
| run: npm run check-format | |
| - name: Run unit tests | |
| run: npm run test | |
| - name: Build | |
| run: npm run build |