Update fig.yaml #13
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: Fig integration | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
push-autocomplete-spec: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install Dependencies | |
run: npm ci | |
- run: npm run generate-autocomplete-spec | |
working-directory: packages/cli | |
- name: Create Autocomplete PR | |
uses: withfig/push-to-fig-autocomplete-action@v2 | |
with: | |
token: ${{ secrets.FIG_PAT }} | |
autocomplete-spec-name: barnard59 | |
spec-path: packages/cli/fig-spec.ts | |
integration: commander |