forked from fern-api/fern
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'fern-api:main' into main
- Loading branch information
Showing
2,485 changed files
with
362,824 additions
and
305,014 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
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,4 +1,4 @@ | ||
name: ir | ||
name: IR Check | ||
|
||
on: | ||
workflow_dispatch: | ||
|
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,4 +1,4 @@ | ||
name: ir-publish | ||
name: IR Publish | ||
|
||
on: | ||
workflow_dispatch: | ||
|
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,39 @@ | ||
name: OpenAPI IR Check | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
paths: | ||
- "packages/cli/openapi-ir-sdk/fern/**" | ||
branches: | ||
- main | ||
push: | ||
paths: | ||
- "packages/cli/openapi-ir-sdk/fern/**" | ||
branches: | ||
- main | ||
|
||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Fern | ||
run: npm install -g fern-api | ||
|
||
- name: Check IR Definitions | ||
run: | | ||
cd packages/cli/openapi-ir-sdk | ||
fern check | ||
- name: Check IR Definitions | ||
env: | ||
FERN_TOKEN: dummy | ||
run: | | ||
cd packages/cli/openapi-ir-sdk | ||
yarn generate | ||
- name: Ensure no changes to git-tracked files | ||
run: git --no-pager diff --exit-code |
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,43 @@ | ||
name: test-definitions | ||
|
||
on: | ||
push: | ||
paths: | ||
- "packages/**" | ||
- "test-definitions/**" | ||
branches: | ||
- main | ||
pull_request: | ||
paths: | ||
- "packages/**" | ||
- "test-definitions/**" | ||
branches: | ||
- main | ||
|
||
# Cancel previous workflows on previous push | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: "yarn" | ||
|
||
- name: Install Deps | ||
run: yarn install | ||
|
||
- name: Fern check | ||
env: | ||
FORCE_COLOR: "2" | ||
run: | | ||
yarn workspace @fern-api/cli dist:cli:dev | ||
cd test-definitions | ||
FERN_NO_VERSION_REDIRECTION=true node $(yarn workspace @fern-api/cli bin fern:dev) check |
Oops, something went wrong.