File tree Expand file tree Collapse file tree 2 files changed +2
-58
lines changed
Expand file tree Collapse file tree 2 files changed +2
-58
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ jobs:
102102 run : npm run build
103103
104104 - name : 🚀 Release
105- uses : cycjimmy/semantic-release-action@v2
105+ uses : cycjimmy/semantic-release-action@v6
106106 with :
107107 semantic_version : 17
108108 branches : |
Original file line number Diff line number Diff line change 11name : validate
22on :
3- push :
4- branches :
5- # Match SemVer major release branches
6- # e.g. "12.x" or "8.x"
7- - ' [0-9]+.x'
8- - ' main'
9- - ' next'
10- - ' next-major'
11- - ' beta'
12- - ' alpha'
13- - ' !all-contributors/**'
143 pull_request :
154
165concurrency :
6958 with :
7059 fail_ci_if_error : true
7160 flags : ${{ matrix.react }}
72- token : ${{ secrets.CODECOV_TOKEN }}
73-
74- release :
75- permissions :
76- actions : write # to cancel/stop running workflows (styfle/cancel-workflow-action)
77- contents : write # to create release tags (cycjimmy/semantic-release-action)
78- issues : write # to post release that resolves an issue (cycjimmy/semantic-release-action)
79-
80- needs : main
81- runs-on : ubuntu-latest
82- if :
83- ${{ github.repository == 'testing-library/react-testing-library' &&
84- github.event_name == 'push' }}
85- steps :
86- - name : ⬇️ Checkout repo
87- uses : actions/checkout@v4
88-
89- - name : ⎔ Setup node
90- uses : actions/setup-node@v4
91- with :
92- node-version : 14
93-
94- - name : 📥 Download deps
95- uses : bahmutov/npm-install@v1
96- with :
97- useLockFile : false
98-
99- - name : 🏗 Run build script
100- run : npm run build
101-
102- - name : 🚀 Release
103- uses : cycjimmy/semantic-release-action@v2
104- with :
105- semantic_version : 17
106- branches : |
107- [
108- '+([0-9])?(.{+([0-9]),x}).x',
109- 'main',
110- 'next',
111- 'next-major',
112- {name: 'beta', prerelease: true},
113- {name: 'alpha', prerelease: true}
114- ]
115- env :
116- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
117- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
61+ token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments