docs(cli): init readme (#242) #220
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: | |
| - main | |
| concurrency: ${{ github.workflow }}-${{ github.ref }} | |
| jobs: | |
| release: | |
| name: Release | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Access repo | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Set up pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| run_install: false | |
| package_json_file: package.json | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Apply changesets action | |
| uses: changesets/action@v1 | |
| with: | |
| commit: ${{ env.MESSAGE }} | |
| createGithubReleases: true | |
| publish: pnpm run ci:publish | |
| title: ${{ env.MESSAGE }} | |
| version: pnpm run ci:version | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| MESSAGE: "chore(repo): version workspaces" | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN_DEEPDISH }} |