11# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
22# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
33
4- name : RTK-Query OpenAPI Codegen Tests
4+ name : RTKQ OpenAPI Codegen
55defaults :
66 run :
77 working-directory : ./packages/rtk-query-codegen-openapi
3535
3636 runs-on : ${{ matrix.os }}
3737
38- name : Build artifact for ${{ matrix.os }} with Node.js ${{ matrix.node-version }}
38+ name : Build artifact for ${{ matrix.os }} with Node ${{ matrix.node-version }}
3939
4040 strategy :
4141 matrix :
4646 - name : Checkout repository
4747 uses : actions/checkout@v4
4848
49- - name : Setup Node.js ${{ matrix.node-version }}
49+ - name : Setup Node ${{ matrix.node-version }}
5050 uses : actions/setup-node@v4
5151 with :
5252 node-version : ${{ matrix.node-version }}
7070 run : ls -R
7171
7272 test :
73- needs : [ build]
73+ needs : build
7474 defaults :
7575 run :
7676 working-directory : ./packages/rtk-query-codegen-openapi
@@ -80,13 +80,13 @@ jobs:
8080 fail-fast : false
8181 matrix :
8282 node-version : [20.x]
83- os : [ubuntu-latest, windows-latest, macos-latest ]
83+ os : [ubuntu-latest]
8484
8585 steps :
8686 - name : Checkout repository
8787 uses : actions/checkout@v4
8888
89- - name : Setup Node.js ${{ matrix.node-version }}
89+ - name : Setup Node ${{ matrix.node-version }}
9090 uses : actions/setup-node@v4
9191 with :
9292 node-version : ${{ matrix.node-version }}
@@ -110,8 +110,6 @@ jobs:
110110
111111 - name : Run tests
112112 run : yarn test
113- env :
114- TEST_DIST : true
115113
116114 - name : Did we fail?
117115 if : failure()
0 commit comments