Skip to content

Improve sorted entity adapter sorting performance #4413

Improve sorted entity adapter sorting performance

Improve sorted entity adapter sorting performance #4413

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: RTK-Query OpenAPI Codegen Tests
defaults:
run:
working-directory: ./packages/rtk-query-codegen-openapi
on: [push, pull_request]
jobs:
changes:
name: Check for changes
runs-on: ubuntu-latest
outputs:
codegen: ${{ steps.filter.outputs.codegen }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
codegen:
- 'packages/rtk-query-codegen-openapi/**'
- 'yarn.lock'
build:
needs: changes
if: ${{ needs.changes.outputs.codegen == 'true' }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.x']
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
- run: yarn install
- run: yarn test