fix: uses appropriate typings for property read/write request payloads #465
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: CI | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 1 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node: [22, 24] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Lint | |
| run: npm run lint | |
| - name: Build | |
| if: matrix.node == '24' | |
| run: npm run build | |
| test_unit: | |
| uses: ./.github/workflows/test.yml | |
| with: | |
| npm_command: test:unit:coverage | |
| test_integration: | |
| uses: ./.github/workflows/test.yml | |
| with: | |
| npm_command: test:integration:coverage | |
| test_compliance: | |
| uses: ./.github/workflows/test.yml | |
| with: | |
| docker: true | |
| npm_command: docker:test | |
| collect_artifacts: | |
| needs: [build, test_unit, test_integration, test_compliance] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - uses: actions/download-artifact@v8 | |
| with: | |
| path: downloaded-artifacts | |
| - name: Merge coverage reports | |
| run: | | |
| mkdir -p .nyc_output | |
| # format will be downloaded-artifacts/node22-docker-test/*.json | |
| for dir in downloaded-artifacts/*; do | |
| cp -r "$dir"/* .nyc_output/ | |
| done | |
| # merge all coverage.json files into one | |
| npx nyc report | |
| - name: Coveralls | |
| uses: coverallsapp/github-action@v2.3.6 | |
| with: | |
| github-token: ${{ secrets.github_token }} | |