build: publish v2.0.0-rc.130 #130
Workflow file for this run
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: | |
| tags: | |
| - 'v*' | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| id-token: write | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| - name: Install deps | |
| run: pnpm ci | |
| - name: Build Project | |
| run: pnpm run bundle | |
| - name: Publish packages | |
| run: pnpm run release:publish | |
| - name: Create release | |
| if: ${{ github.event_name != 'workflow_dispatch' }} | |
| id: release_tag | |
| uses: yyx990803/release-tag@master | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| tag_name: ${{ github.ref }} | |
| body: | | |
| Please refer to [CHANGELOG.md](https://github.com/${{ github.repository }}/blob/main/CHANGELOG.md) for details. | |
| deploy-docs: | |
| name: Deploy ecosystem docs to Netlify | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| - name: Install deps | |
| run: pnpm ci | |
| - name: Build source files | |
| run: pnpm run bundle | |
| - name: Docs build | |
| env: | |
| NODE_OPTIONS: --max_old_space_size=8192 | |
| run: pnpm run --filter @vuepress/ecosystem-docs docs:build | |
| - name: Deploy docs | |
| uses: JamesIves/github-pages-deploy-action@v4 | |
| with: | |
| branch: netlify | |
| folder: docs/.vuepress/dist | |
| single-commit: true |