1
1
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2
2
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3
3
4
- name : RTK-Query OpenAPI Codegen Tests
4
+ name : RTKQ OpenAPI Codegen
5
5
defaults :
6
6
run :
7
7
working-directory : ./packages/rtk-query-codegen-openapi
35
35
36
36
runs-on : ${{ matrix.os }}
37
37
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 }}
39
39
40
40
strategy :
41
41
matrix :
46
46
- name : Checkout repository
47
47
uses : actions/checkout@v4
48
48
49
- - name : Setup Node.js ${{ matrix.node-version }}
49
+ - name : Setup Node ${{ matrix.node-version }}
50
50
uses : actions/setup-node@v4
51
51
with :
52
52
node-version : ${{ matrix.node-version }}
70
70
run : ls -R
71
71
72
72
test :
73
- needs : [ build]
73
+ needs : build
74
74
defaults :
75
75
run :
76
76
working-directory : ./packages/rtk-query-codegen-openapi
@@ -80,13 +80,13 @@ jobs:
80
80
fail-fast : false
81
81
matrix :
82
82
node-version : [20.x]
83
- os : [ubuntu-latest, windows-latest, macos-latest ]
83
+ os : [ubuntu-latest]
84
84
85
85
steps :
86
86
- name : Checkout repository
87
87
uses : actions/checkout@v4
88
88
89
- - name : Setup Node.js ${{ matrix.node-version }}
89
+ - name : Setup Node ${{ matrix.node-version }}
90
90
uses : actions/setup-node@v4
91
91
with :
92
92
node-version : ${{ matrix.node-version }}
@@ -110,8 +110,6 @@ jobs:
110
110
111
111
- name : Run tests
112
112
run : yarn test
113
- env :
114
- TEST_DIST : true
115
113
116
114
- name : Did we fail?
117
115
if : failure()
0 commit comments