Skip to content

Commit

Permalink
chore: integrate ApiDOM into codebase
Browse files Browse the repository at this point in the history
Refs #2718
  • Loading branch information
char0n committed Dec 27, 2022
1 parent 0d13e92 commit 0a29450
Show file tree
Hide file tree
Showing 6 changed files with 19,203 additions and 54 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
registry-url: https://npm.pkg.github.com/
scope: "@swagger-api"
- name: Cache Node Modules
id: cache-node-modules
uses: actions/cache@v2
Expand Down Expand Up @@ -61,6 +63,8 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: 12.4.x
registry-url: https://npm.pkg.github.com/
scope: "@swagger-api"
- name: Cache Node Modules
id: cache-node-modules
uses: actions/cache@v2
Expand All @@ -83,12 +87,16 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: 14.x
registry-url: https://npm.pkg.github.com/
scope: "@swagger-api"
- name: Run commonjs build artifacts on Node.js 14.x
run: node -p "require('./commonjs')"

- name: Use Node 16.x
uses: actions/setup-node@v2
with:
node-version: 16.x
registry-url: https://npm.pkg.github.com/
scope: "@swagger-api"
- name: Run commonjs build artifacts on Node.js 16.x
run: node -p "require('./commonjs')"
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: 16
registry-url: https://npm.pkg.github.com/
scope: "@swagger-api"
- name: Install dependencies
run: npm ci
- name: Semantic Release
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@swagger-api:registry=https://npm.pkg.github.com
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.17
16.16
Loading

0 comments on commit 0a29450

Please sign in to comment.