fix: introduce FormField component and enhance nested group validation #18
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 Extension | |
| on: | |
| push: | |
| branches: [release] | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| release: | |
| name: Build and Publish Extension | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9.15.0 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "22" | |
| - name: Install just | |
| uses: extractions/setup-just@v3 | |
| - name: Install dependencies | |
| run: just deps-compact | |
| - name: Build and package | |
| run: just package | |
| - name: Configure Git | |
| run: | | |
| git config --global user.name "github-actions[bot]" | |
| git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
| - name: Run semantic-release | |
| run: npx semantic-release | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }} | |
| GIT_AUTHOR_NAME: "github-actions[bot]" | |
| GIT_AUTHOR_EMAIL: "github-actions[bot]@users.noreply.github.com" | |
| GIT_COMMITTER_NAME: "github-actions[bot]" | |
| GIT_COMMITTER_EMAIL: "github-actions[bot]@users.noreply.github.com" | |
| HUSKY: 0 | |
| - name: Publish to marketplaces | |
| run: just publish both | |
| env: | |
| VSCE_ACCESS_TOKEN: ${{ secrets.VSCE_PAT }} | |
| OVSX_ACCESS_TOKEN: ${{ secrets.OVSX_PAT }} | |
| - name: Sync release to main | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| git fetch origin release | |
| git fetch origin main | |
| git checkout main | |
| git merge origin/release --no-edit | |
| git push https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git main | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }} |