Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions .github/actions/install/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ runs:
registry-url: "https://registry.npmjs.org"
cache: pnpm

- name: ⎔ Cache turbo build
uses: actions/cache@v4
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.job }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-${{ github.job }}-
${{ runner.os }}-turbo-

# Ensure npm 11.5.1 or later is installed
- name: ⎔ Update npm
shell: bash
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/check-devin-pr-assignee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
permissions:
pull-requests: write

env:
DO_NOT_TRACK: "1"

jobs:
check-assignee:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci-dynamic-snippets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ permissions:
contents: read

env:
DO_NOT_TRACK: "1"
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: "buildwithfern"
TURBO_REMOTE_CACHE_TIMEOUT: 60
Expand Down
15 changes: 13 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ concurrency:
cancel-in-progress: true

env:
DO_NOT_TRACK: "1"
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: "buildwithfern"
TURBO_REMOTE_CACHE_TIMEOUT: 60
Expand Down Expand Up @@ -186,19 +187,29 @@ jobs:
- name: Install protoc-gen-openapi
run: go install github.com/fern-api/protoc-gen-openapi/cmd/protoc-gen-openapi@latest

- name: Build CLI (dev)
timeout-minutes: 5
run: pnpm turbo run dist:cli:dev --filter=@fern-api/cli --filter=@fern-api/cli-v2

- name: Build seed CLI
timeout-minutes: 5
run: pnpm seed:build

- name: Run ETE tests
if: ${{ !github.event.inputs.update_snapshots }}
timeout-minutes: 10
env:
FERN_ORG_TOKEN_DEV: ${{ secrets.FERN_ORG_TOKEN_DEV }}
run: |
FERN_TOKEN=${{ secrets.FERN_ORG_TOKEN_DEV }} pnpm test:ete
FERN_TOKEN=${{ secrets.FERN_ORG_TOKEN_DEV }} pnpm --filter @fern-api/ete-tests test

- name: Run ETE tests with snapshot updates
if: ${{ github.event.inputs.update_snapshots == 'true' }}
timeout-minutes: 10
env:
FERN_ORG_TOKEN_DEV: ${{ secrets.FERN_ORG_TOKEN_DEV }}
run: |
FERN_TOKEN=${{ secrets.FERN_ORG_TOKEN_DEV }} pnpm test:ete:update
FERN_TOKEN=${{ secrets.FERN_ORG_TOKEN_DEV }} pnpm --filter @fern-api/ete-tests test -- -u

- name: Commit and push updated snapshots
if: ${{ github.event.inputs.update_snapshots == 'true' }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/cli-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ permissions:
pull-requests: write

env:
DO_NOT_TRACK: "1"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/definitions-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- main

env:
DO_NOT_TRACK: "1"
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: "buildwithfern"
TURBO_REMOTE_CACHE_TIMEOUT: 60
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ permissions:
contents: write
pull-requests: write

env:
DO_NOT_TRACK: "1"

jobs:
auto-merge:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/fix-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ concurrency:
cancel-in-progress: true

env:
DO_NOT_TRACK: "1"
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: "buildwithfern"
TURBO_REMOTE_CACHE_TIMEOUT: 60
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/go-generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
- main
workflow_call:

env:
DO_NOT_TRACK: "1"

jobs:
compile:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ir-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
paths:
- "packages/ir-sdk/fern/apis/ir-types-latest/VERSION"

env:
DO_NOT_TRACK: "1"

jobs:
node:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ir-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
branches:
- main

env:
DO_NOT_TRACK: "1"

jobs:
run:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/java-generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
- main
workflow_call:

env:
DO_NOT_TRACK: "1"

jobs:
compile:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lint-pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
permissions:
pull-requests: read

env:
DO_NOT_TRACK: "1"

jobs:
run:
name: Lint PR title
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/nightly-seed-metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
DO_NOT_TRACK: "1"

jobs:
trigger-seed-snapshot-tests:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/openapi-ir-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
branches:
- main

env:
DO_NOT_TRACK: "1"

jobs:
run:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ permissions:
id-token: write # Required for OIDC

env:
DO_NOT_TRACK: "1"
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: "buildwithfern"
TURBO_REMOTE_CACHE_TIMEOUT: 60
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-docs-parsers-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Publish @fern-fern/docs-parsers-fern-definition
on:
workflow_dispatch:

env:
DO_NOT_TRACK: "1"

jobs:
publish:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-generator-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- "packages/generator-cli/versions.yml"

env:
DO_NOT_TRACK: "1"
PACKAGE_NAME: "@fern-api/generator-cli"
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: "buildwithfern"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-generator-csharp-model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ permissions: # Required for OIDC
id-token: write
contents: read

env:
DO_NOT_TRACK: "1"

jobs:
publish:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-generator-csharp-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ permissions: # Required for OIDC
id-token: write
contents: read

env:
DO_NOT_TRACK: "1"

jobs:
publish:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-generator-go-model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ permissions: # Required for OIDC
id-token: write
contents: read

env:
DO_NOT_TRACK: "1"

jobs:
publish:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-generator-go-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ permissions: # Required for OIDC
id-token: write
contents: read

env:
DO_NOT_TRACK: "1"

jobs:
publish:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-generator-java-model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ permissions: # Required for OIDC
id-token: write
contents: read

env:
DO_NOT_TRACK: "1"

jobs:
publish:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-generator-java-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ permissions: # Required for OIDC
id-token: write
contents: read

env:
DO_NOT_TRACK: "1"

jobs:
publish:
permissions:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-generator-java-spring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ permissions: # Required for OIDC
id-token: write
contents: read

env:
DO_NOT_TRACK: "1"

jobs:
publish:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-generator-migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:
type: string

env:
DO_NOT_TRACK: "1"
PACKAGE_NAME: "@fern-api/generator-migrations"
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: "buildwithfern"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-generator-openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ permissions: # Required for OIDC
id-token: write
contents: read

env:
DO_NOT_TRACK: "1"

jobs:
publish:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-generator-php-model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ permissions: # Required for OIDC
id-token: write
contents: read

env:
DO_NOT_TRACK: "1"

jobs:
publish:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-generator-php-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ permissions: # Required for OIDC
id-token: write
contents: read

env:
DO_NOT_TRACK: "1"

jobs:
publish:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-generator-postman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ permissions: # Required for OIDC
id-token: write
contents: read

env:
DO_NOT_TRACK: "1"

jobs:
publish:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-generator-python-fastapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ permissions: # Required for OIDC
id-token: write
contents: read

env:
DO_NOT_TRACK: "1"

jobs:
publish:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-generator-python-pydantic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ permissions: # Required for OIDC
id-token: write
contents: read

env:
DO_NOT_TRACK: "1"

jobs:
publish:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-generator-python-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ permissions: # Required for OIDC
id-token: write
contents: read

env:
DO_NOT_TRACK: "1"

jobs:
publish:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-generator-ruby-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ permissions: # Required for OIDC
id-token: write
contents: read

env:
DO_NOT_TRACK: "1"

jobs:
publish:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-generator-rust-model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ permissions: # Required for OIDC
id-token: write
contents: read

env:
DO_NOT_TRACK: "1"

jobs:
publish:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-generator-rust-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ permissions: # Required for OIDC
id-token: write
contents: read

env:
DO_NOT_TRACK: "1"

jobs:
publish:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-generator-swift-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ permissions: # Required for OIDC
id-token: write
contents: read

env:
DO_NOT_TRACK: "1"

jobs:
publish:
runs-on: ubuntu-latest
Expand Down
Loading
Loading