Skip to content

Commit c58ed21

Browse files
chore: updated test workflow based on new test script
1 parent 3abeccf commit c58ed21

1 file changed

Lines changed: 23 additions & 7 deletions

File tree

.github/workflows/test.yml

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,33 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- name: Check out Git repository
16-
uses: actions/checkout@v3
17-
1815
- name: Use Node.js
1916
uses: actions/setup-node@v3
2017
with:
2118
node-version: 16.x
19+
20+
- name: Check out Git repository
21+
uses: actions/checkout@v3
22+
with:
23+
path: openapi-forge-javascript
2224

2325
- name: Install Node.js dependencies
24-
run: npm install
26+
run: |
27+
cd openapi-forge-javascript
28+
npm install
29+
30+
- name: Check out the openapi-forge generator
31+
uses: actions/checkout@v3
32+
with:
33+
repository: ScottLogic/openapi-forge
34+
path: openapi-forge
35+
36+
- name: Install openapi-forge dependencies
37+
run: |
38+
cd openapi-forge
39+
npm install
2540
26-
- name: Test generator
27-
run: npm run test:defaultPath
28-
continue-on-error: true
41+
- name: Run the tests
42+
run: |
43+
cd openapi-forge-javascript
44+
npm test

0 commit comments

Comments
 (0)