Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Elmer Bulthuis committed May 6, 2024
1 parent 2547a36 commit 8a0bfa2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test-npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:
- run: corepack enable

- uses: actions/checkout@v4
- run: npm ci
- run: npm ci --no-workspaces
- run: npm run generate
- run: npm ci --workspaces

# node test runner seems to support globs since v21
- if: ${{ matrix.node-version >= 21 }}
Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,15 @@ This repository contains examples that you may use as a starting point for using

### Setting up

Make sure you have [Node.js](https://nodejs.org) and npm (included in Node.js) installed on your system. Then, run `npm install` to install everything. This will also trigger the a script that will generate all API code with [oa42-generator](https://github.com/LuvDaSun/OpenApi42).
Make sure you have [Node.js](https://nodejs.org) and npm (included in Node.js) installed on your system. Then, run the following to install everything.

```
npm install --no-workspaces
npm run generate
npm install --workspaces
```

This will also trigger the a script that will generate all API code with [oa42-generator](https://github.com/LuvDaSun/OpenApi42).

### Running an example

Expand Down
3 changes: 0 additions & 3 deletions scripts/postinstall.js

This file was deleted.

0 comments on commit 8a0bfa2

Please sign in to comment.