File tree Expand file tree Collapse file tree 3 files changed +11
-13
lines changed
Expand file tree Collapse file tree 3 files changed +11
-13
lines changed Original file line number Diff line number Diff line change 66 # e.g. "12.x" or "8.x"
77 - ' [0-9]+.x'
88 - ' main'
9- - ' next'
10- - ' next-major'
119 - ' beta'
1210 - ' alpha'
1311 - ' !all-contributors/**'
2927 # Otherwise we would not know if the problem is tied to the Node.js version
3028 fail-fast : false
3129 matrix :
32- node : [18, 20 ]
30+ node : [18, 24 ]
3331 runs-on : ubuntu-latest
3432 steps :
3533 - name : ⬇️ Checkout repo
5654 run : npm run validate
5755
5856 release :
57+ environment : production
5958 permissions :
59+ id-token : write # Required for OIDC
6060 contents : write # to create release tags (cycjimmy/semantic-release-action)
6161 issues : write # to post release that resolves an issue
6262
7272 - name : ⎔ Setup node
7373 uses : actions/setup-node@v3
7474 with :
75- node-version : 18
75+ node-version : 24
7676
7777 - name : 📥 Download deps
7878 uses : bahmutov/npm-install@v1
@@ -83,18 +83,15 @@ jobs:
8383 run : npm run build
8484
8585 - name : 🚀 Release
86- uses : cycjimmy/semantic-release-action@v2
86+ uses : cycjimmy/semantic-release-action@v5
8787 with :
88- semantic_version : 17
88+ semantic_version : 25
8989 branches : |
9090 [
9191 '+([0-9])?(.{+([0-9]),x}).x',
9292 'main',
93- 'next',
94- 'next-major',
9593 {name: 'beta', prerelease: true},
9694 {name: 'alpha', prerelease: true}
9795 ]
9896 env :
9997 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
100- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 6363 "@babel/runtime" : " ^7.12.5" ,
6464 "@types/aria-query" : " ^5.0.1" ,
6565 "aria-query" : " 5.3.0" ,
66- "chalk" : " ^4.1.0" ,
6766 "dom-accessibility-api" : " ^0.5.9" ,
6867 "lz-string" : " ^1.5.0" ,
68+ "picocolors" : " 1.1.1" ,
6969 "pretty-format" : " ^27.0.2"
7070 },
7171 "devDependencies" : {
8080 "typescript" : " ^4.1.2"
8181 },
8282 "overrides" : {
83+ "@babel/helper-compilation-targets" : " 7.24.7" ,
8384 "browserslist" : " 4.21.8" ,
8485 "caniuse-lite" : " 1.0.30001502"
8586 },
Original file line number Diff line number Diff line change 11// We try to load node dependencies
2- let chalk = null
2+ let picocolors = null
33let readFileSync = null
44let codeFrameColumns = null
55
1111 module ,
1212 '@babel/code-frame' ,
1313 ) . codeFrameColumns
14- chalk = nodeRequire . call ( module , 'chalk ' )
14+ picocolors = nodeRequire . call ( module , 'picocolors ' )
1515} catch {
1616 // We're in a browser environment
1717}
@@ -46,7 +46,7 @@ function getCodeFrame(frame) {
4646 linesBelow : 0 ,
4747 } ,
4848 )
49- return `${ chalk . dim ( frameLocation ) } \n${ codeFrame } \n`
49+ return `${ picocolors . dim ( frameLocation ) } \n${ codeFrame } \n`
5050}
5151
5252function getUserCodeFrame ( ) {
You can’t perform that action at this time.
0 commit comments