Skip to content

Commit

Permalink
chore: updated test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinEberhardt committed Jan 12, 2023
1 parent fd0297a commit 1352c46
Showing 1 changed file with 19 additions and 11 deletions.
30 changes: 19 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,33 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Check out Git repository
uses: actions/checkout@v3

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x

- name: Check out Git repository
uses: actions/checkout@v3
with:
path: openapi-forge-typescript

- name: Install Node.js dependencies
run: npm install
run: |
cd openapi-forge-typescript
npm install
- name: Install Forge
- name: Check out the openapi-forge generator
uses: actions/checkout@v3
with:
repository: ScottLogic/openapi-forge
path: openapi-forge

- name: Install openapi-forge dependencies
run: |
cd ..
git clone https://github.com/ScottLogic/openapi-forge.git
cd openapi-forge
npm install
npm install -g
- name: Test generator
run: npm run test:defaultPath
continue-on-error: true
- name: Run the tests
run: |
cd openapi-forge-typescript
npm test

0 comments on commit 1352c46

Please sign in to comment.