feat!: new provider.yaml and new contracts v2 [JS-850, JS-851] #6667
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: "docs" | |
on: | |
pull_request: | |
paths-ignore: | |
- "!**.md" | |
concurrency: | |
group: "${{ github.workflow }}-${{ github.ref }}" | |
cancel-in-progress: true | |
env: | |
CI: true | |
FORCE_COLOR: true | |
FLUENCE_USER_DIR: "${{ github.workspace }}/tmp/.fluence" | |
jobs: | |
docs: | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
name: Generate docs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.FLUENCEBOT_RELEASE_PLEASE_PAT }} | |
- name: Setup node with self-hosted npm registry | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "22.10.0" | |
registry-url: "https://npm.fluence.dev" | |
cache: "yarn" | |
- run: yarn install | |
- name: Setup golang | |
uses: actions/setup-go@v5 | |
- name: Install json-schema-docs | |
run: go install github.com/marcusolsson/json-schema-docs@latest | |
- name: Cache turbo build setup | |
uses: actions/cache@v4 | |
with: | |
path: .turbo | |
key: ${{ runner.os }}-turbo-${{ github.sha }} | |
restore-keys: | | |
${{ runner.os }}-turbo- | |
- name: Run on each commit | |
run: yarn on-each-commit | |
- name: Format | |
run: yarn format | |
- name: Auto-commit | |
uses: stefanzweifel/git-auto-commit-action@v5 |