-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OpenAPI: Regenerates API Bindings (#35)
* Regenerates API Bindings * ENG 18614/test clean up (#36) * Adding workflow tests * Fixing version * Fixing test folder call * Switching to PAT for test dispatch * Adding testing headers * Fixing README version * Fixing openapi-generator settings
- Loading branch information
1 parent
0542217
commit 78b8985
Showing
83 changed files
with
3,293 additions
and
700 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Mocha Tests | ||
env: | ||
API_HOST: ${{ vars.API_HOST }} | ||
API_KEY: ${{ secrets.API_KEY }} | ||
|
||
on: | ||
push: | ||
branches: [ master, openapi-bindings ] | ||
pull_request: | ||
branches: [ master, openapi-bindings ] | ||
|
||
jobs: | ||
build: | ||
runs-on: gcp-runner | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: 🔨 Setup Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
always-auth: true | ||
node-version: '20.10.0' | ||
registry-url: https://npm.pkg.github.com | ||
scope: '@lilt' | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Run build | ||
run: npm run build --if-present | ||
|
||
- name: Run Mocha tests | ||
run: npm test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,13 +27,15 @@ jobs: | |
-p projectName=lilt-node | ||
-p packageVersion=${{ github.event.client_payload.version }} | ||
-p usePromises=true | ||
-p licenseName="SEE LICENSE IN LICENSE.md" | ||
--git-user-id lilt | ||
--git-repo-id lilt-node | ||
--skip-validate-spec | ||
-o . | ||
- name: Create Pull Request | ||
uses: peter-evans/[email protected] | ||
with: | ||
token: ${{ secrets.GHA_REPO_DISPATCH_TOKEN }} | ||
commit-message: Regenerates API Bindings | ||
title: "OpenAPI: Regenerates API Bindings" | ||
body: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
/node_modules/ | ||
/dist/ | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.