More install items for dockerfile #36
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
name: fern | |
on: push | |
jobs: | |
fern-check: | |
runs-on: ubuntu-20.04 | |
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 | |
# TODO: Re-enable once https://github.com/fern-api/fern/pull/2551 is resolved | |
# - name: Verify generated code is up to date | |
# env: | |
# FERN_TOKEN: ${{ secrets.FERN_TOKEN }} | |
# run: | | |
# ./scripts/fern/gen.sh | |
# git --no-pager diff --exit-code |