fix: dependabot/46 #61
This file contains hidden or 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: Release | |
| on: | |
| push: | |
| branches: | |
| - 'draft' | |
| - 'main' | |
| concurrency: ${{ github.workflow }}-${{ github.ref }} | |
| jobs: | |
| release: | |
| name: Release | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js and pnpm | |
| uses: ./.github/actions/setup-node-pnpm | |
| - name: Create Release Pull Request | |
| uses: changesets/action@v1 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| deploy-docs: | |
| if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/docs' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js and pnpm | |
| uses: ./.github/actions/setup-node-pnpm | |
| - name: Build docs | |
| run: pnpm --filter docs build | |
| - name: Deploy docs | |
| env: | |
| FLEEK_TOKEN: ${{ secrets.FLEEK_TOKEN }} | |
| FLEEK_PROJECT_ID: cm1coipco000087g1pcgohgtd | |
| run: pnpm --dir apps/docs deploy:fleek | |
| deploy-registry: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js and pnpm | |
| uses: ./.github/actions/setup-node-pnpm | |
| - name: Build registry | |
| run: pnpm --filter @geist/registry build | |
| - name: Deploy registry | |
| env: | |
| FLEEK_TOKEN: ${{ secrets.FLEEK_TOKEN }} | |
| FLEEK_PROJECT_ID: cm2lvm8yh000030bm17kmomq9 | |
| run: pnpm --dir apps/registry deploy:fleek |