Skip to content

(chore): upgrade versions to latest #186

(chore): upgrade versions to latest

(chore): upgrade versions to latest #186

Workflow file for this run

name: ci
on: [push]
jobs:
fern-check:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Install Fern
run: npm install -g fern-api
- name: Check Fern API is valid
run: fern check
fern-release:
needs: fern-check
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
- name: Download Fern
run: npm install -g fern-api
- name: Publish SDKs, OpenAPI, Postman
env:
RAVEN_NPM_TOKEN: ${{ secrets.RAVEN_NPM_TOKEN }}
RAVEN_MAVEN_USERNAME: ${{ secrets.RAVEN_MAVEN_USERNAME }}
RAVEN_MAVEN_TOKEN: ${{ secrets.RAVEN_MAVEN_TOKEN }}
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
POSTMAN_API_KEY: ${{ secrets.POSTMAN_API_KEY }}
POSTMAN_WORKSPACE_ID: ${{ secrets.POSTMAN_WORKSPACE_ID }}
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
run: fern generate --group publish --version ${{ github.ref_name }} --log-level debug