|
1 | | -name: Version Bump |
| 1 | +# name: Version Bump |
2 | 2 |
|
3 | | -on: |
4 | | - push: |
5 | | - branches: |
6 | | - - main |
| 3 | +# on: |
| 4 | +# push: |
| 5 | +# branches: |
| 6 | +# - main |
7 | 7 |
|
8 | | -jobs: |
9 | | - version: |
10 | | - runs-on: ubuntu-latest |
11 | | - permissions: |
12 | | - contents: write |
13 | | - pull-requests: write |
14 | | - steps: |
15 | | - - name: Checkout |
16 | | - uses: actions/checkout@v4 |
17 | | - with: |
18 | | - fetch-depth: 0 |
| 8 | +# jobs: |
| 9 | +# version: |
| 10 | +# runs-on: ubuntu-latest |
| 11 | +# permissions: |
| 12 | +# contents: write |
| 13 | +# pull-requests: write |
| 14 | +# steps: |
| 15 | +# - name: Checkout |
| 16 | +# uses: actions/checkout@v4 |
| 17 | +# with: |
| 18 | +# fetch-depth: 0 |
19 | 19 |
|
20 | | - - name: Setup Node.js |
21 | | - uses: actions/setup-node@v4 |
22 | | - with: |
23 | | - node-version: 20 |
| 20 | +# - name: Setup Node.js |
| 21 | +# uses: actions/setup-node@v4 |
| 22 | +# with: |
| 23 | +# node-version: 20 |
24 | 24 |
|
25 | | - - name: Install dependencies |
26 | | - run: npm ci |
| 25 | +# - name: Install dependencies |
| 26 | +# run: npm ci |
27 | 27 |
|
28 | | - - name: Configure Git for tag creation |
29 | | - run: | |
30 | | - git config user.name "github-actions[bot]" |
31 | | - git config user.email "github-actions[bot]@users.noreply.github.com" |
| 28 | +# - name: Configure Git for tag creation |
| 29 | +# run: | |
| 30 | +# git config user.name "github-actions[bot]" |
| 31 | +# git config user.email "github-actions[bot]@users.noreply.github.com" |
32 | 32 |
|
33 | | - - name: Create Release Pull Request or Publish |
34 | | - id: changesets |
35 | | - uses: changesets/action@v1 |
36 | | - with: |
37 | | - # changeset publish automatically creates git tags in format: package-name@version |
38 | | - # For single package repo, it creates: v1.0.0 format |
39 | | - publish: | |
40 | | - npm run build |
41 | | - npm run release |
42 | | - # Push tags created by changeset publish |
43 | | - git push --follow-tags |
44 | | - version: npm run version |
45 | | - commit: "chore: version packages" |
46 | | - title: "chore: version packages" |
47 | | - env: |
48 | | - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
49 | | - NPM_TOKEN: ${{ secrets.npm_token }} |
50 | | - NODE_AUTH_TOKEN: ${{ secrets.npm_token }} |
| 33 | +# - name: Create Release Pull Request or Publish |
| 34 | +# id: changesets |
| 35 | +# uses: changesets/action@v1 |
| 36 | +# with: |
| 37 | +# # changeset publish automatically creates git tags in format: package-name@version |
| 38 | +# # For single package repo, it creates: v1.0.0 format |
| 39 | +# publish: | |
| 40 | +# npm run build |
| 41 | +# npm run release |
| 42 | +# # Push tags created by changeset publish |
| 43 | +# git push --follow-tags |
| 44 | +# version: npm run version |
| 45 | +# commit: "chore: version packages" |
| 46 | +# title: "chore: version packages" |
| 47 | +# env: |
| 48 | +# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 49 | +# NPM_TOKEN: ${{ secrets.npm_token }} |
| 50 | +# NODE_AUTH_TOKEN: ${{ secrets.npm_token }} |
0 commit comments