Skip to content

Commit 4936532

Browse files
committed
Merge branch 'master' into tsup-codegen
# Conflicts: # .github/workflows/test-codegen.yml # packages/rtk-query-codegen-openapi/package.json # yarn.lock
2 parents d781232 + 602f012 commit 4936532

File tree

2 files changed

+1079
-72
lines changed

2 files changed

+1079
-72
lines changed

.github/workflows/test-codegen.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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
55
defaults:
66
run:
77
working-directory: ./packages/rtk-query-codegen-openapi
@@ -35,7 +35,7 @@ jobs:
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:
@@ -46,7 +46,7 @@ jobs:
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 }}
@@ -70,7 +70,7 @@ jobs:
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

Comments
 (0)