fix: deployment scripts for consistency with versioning #344
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: | |
| pull_request: | |
| workflow_call: | |
| inputs: | |
| node-version: | |
| description: Node.js version to use | |
| required: false | |
| type: number | |
| default: 20 | |
| concurrency: | |
| group: ci-${{ github.head_ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: 20 | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Check Format | |
| run: npm run check-format | |
| - name: Build | |
| run: npm run build | |
| - name: Run unit tests | |
| run: npm run test:unit | |
| - name: Prepare test stack | |
| run: npm run start-test-stack | |
| - name: Run integration tests | |
| run: npm run test:e2e |