File tree Expand file tree Collapse file tree 2 files changed +5
-61
lines changed
Expand file tree Collapse file tree 2 files changed +5
-61
lines changed Original file line number Diff line number Diff line change 3131 strategy :
3232 fail-fast : false
3333 matrix :
34- node : [18, 20 ]
34+ node : [18, 24 ]
3535 react : ['18.x', latest, canary, experimental]
3636 runs-on : ubuntu-latest
3737 steps :
9191 - name : ⎔ Setup node
9292 uses : actions/setup-node@v4
9393 with :
94- node-version : 14
94+ node-version : 24
9595
9696 - name : 📥 Download deps
9797 uses : bahmutov/npm-install@v1
@@ -102,9 +102,9 @@ jobs:
102102 run : npm run build
103103
104104 - name : 🚀 Release
105- uses : cycjimmy/semantic-release-action@v2
105+ uses : cycjimmy/semantic-release-action@v5
106106 with :
107- semantic_version : 17
107+ semantic_version : 25
108108 branches : |
109109 [
110110 '+([0-9])?(.{+([0-9]),x}).x',
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 :
2918 strategy :
3019 fail-fast : false
3120 matrix :
32- node : [18, 20 ]
21+ node : [18, 24 ]
3322 react : ['18.x', latest, canary, experimental]
3423 runs-on : ubuntu-latest
3524 steps :
7059 fail_ci_if_error : true
7160 flags : ${{ matrix.react }}
7261 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 }}
You can’t perform that action at this time.
0 commit comments