@@ -24,41 +24,60 @@ jobs:
2424 registry-url : https://npm.pkg.github.com/
2525 scope : " @swagger-api"
2626
27- - name : Install dependencies
28- run : npm ci
29- env :
30- NODE_AUTH_TOKEN : ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
31-
32- - name : Prepare for the Release
33- run : |
34- npm run lint
35- npm run test
36- npm run build:app
37- npm run cy:ci
38- npm run build:bundle:esm
39- npm run build:bundle:umd
4027 - name : Semantic Release
4128 id : semantic
4229 uses : cycjimmy/semantic-release-action@v3
4330 with :
44- dry_run : false
31+ dry_run : true
4532 extra_plugins : |
4633 @semantic-release/git
4734 env :
4835 GITHUB_TOKEN : ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
4936 NPM_TOKEN : ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
5037 NODE_AUTH_TOKEN : ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
5138
52- - name : Release published
53- if : steps.semantic.outputs.new_release_published == 'true'
54- run : |
55- echo ${{ steps.semantic.outputs.new_release_version }}
56- echo ${{ steps.semantic.outputs.new_release_major_version }}
57- echo ${{ steps.semantic.outputs.new_release_minor_version }}
58- echo ${{ steps.semantic.outputs.new_release_patch_version }}
59- - name : Release failed
60- if : steps.semantic.outputs.new_release_published == 'false'
61- uses : actions/github-script@v6
62- with :
63- script : |
64- core.setFailed('Release failed')
39+ - name : Next version
40+ env :
41+ NEXT_RELEASE_VERSION : ${{ env.NEXT_RELEASE_VERSION }}
42+ run : echo $NEXT_RELEASE_VERSION
43+
44+ # - name: Install dependencies
45+ # run: npm ci
46+ # env:
47+ # NODE_AUTH_TOKEN: ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
48+ #
49+ # - name: Prepare for the Release
50+ # run: |
51+ # npm run lint
52+ # npm run test
53+ # npm run build:app
54+ # npm run cy:ci
55+ # npm run build:bundle:esm
56+ # npm run build:bundle:umd
57+ #
58+ # - name: Semantic Release
59+ # id: semantic
60+ # uses: cycjimmy/semantic-release-action@v3
61+ # with:
62+ # dry_run: false
63+ # extra_plugins: |
64+ # @semantic-release/git
65+ # env:
66+ # GITHUB_TOKEN: ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
67+ # NPM_TOKEN: ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
68+ # NODE_AUTH_TOKEN: ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
69+ #
70+ # - name: Release published
71+ # if: steps.semantic.outputs.new_release_published == 'true'
72+ # run: |
73+ # echo ${{ steps.semantic.outputs.new_release_version }}
74+ # echo ${{ steps.semantic.outputs.new_release_major_version }}
75+ # echo ${{ steps.semantic.outputs.new_release_minor_version }}
76+ # echo ${{ steps.semantic.outputs.new_release_patch_version }}
77+ #
78+ # - name: Release failed
79+ # if: steps.semantic.outputs.new_release_published == 'false'
80+ # uses: actions/github-script@v6
81+ # with:
82+ # script: |
83+ # core.setFailed('Release failed')
0 commit comments