[WIP] Cast query columns in responses #2851
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: Unit Tests | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| name: Unit Tests | |
| strategy: | |
| matrix: | |
| node-version: [22.x, 20.x, 18.x, 16.x] | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| - name: Setup Node ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| always-auth: false | |
| node-version: ${{ matrix.node-version }} | |
| - name: Run npm install | |
| run: npm install | |
| - name: Run npm install [email protected] if Node 12.x | |
| run: npm install [email protected] | |
| if: matrix.node-version == '12.x' | |
| - run: npm run build | |
| - name: Run Tests | |
| run: npm run test:unit | |
| env: | |
| CI: true | |
| KNEX_TEST_TIMEOUT: 60000 |