|
32 | 32 | steps: |
33 | 33 | - name: checkout |
34 | 34 | uses: actions/checkout@v4 |
| 35 | + with: |
| 36 | + fetch-depth: '0' # required to push tags |
35 | 37 |
|
36 | 38 | - name: configure git |
37 | | - shell: bash |
38 | 39 | run: | |
39 | 40 | git config --global user.name "FusionAuth Automation" |
40 | 41 | git config --global user.email "donotreply@fusionauth.io" |
@@ -67,22 +68,22 @@ jobs: |
67 | 68 | - name: set version |
68 | 69 | run: npm version ${{ inputs.version }} |
69 | 70 |
|
70 | | - - name: install dependencies |
71 | | - run: npm install |
| 71 | + # - name: install dependencies |
| 72 | + # run: npm install |
72 | 73 |
|
73 | | - - name: build the package |
74 | | - run: npm run build |
| 74 | + # - name: build the package |
| 75 | + # run: npm run build |
75 | 76 |
|
76 | | - - name: test publish to npmjs |
77 | | - if: inputs.command == 'test' |
78 | | - run: npm publish --dry-run |
| 77 | + # - name: test publish to npmjs |
| 78 | + # if: inputs.command == 'test' |
| 79 | + # run: npm publish --dry-run |
79 | 80 |
|
80 | | - - name: publish to npmjs (only on main branch) |
81 | | - if: inputs.command == 'publish' && github.ref == 'refs/heads/main' |
82 | | - run: npm publish |
| 81 | + # - name: publish to npmjs (only on main branch) |
| 82 | + # if: inputs.command == 'publish' && github.ref == 'refs/heads/main' |
| 83 | + # run: npm publish |
83 | 84 |
|
84 | 85 | - name: commit version changes (only on main branch) |
85 | 86 | if: inputs.command == 'publish' && github.ref == 'refs/heads/main' |
86 | 87 | run: | |
87 | 88 | git commit -am "publish v${{ inputs.version }}" |
88 | | - git push origin main --tags |
| 89 | + git push origin main "v${{ inputs.version }}" |
0 commit comments