File tree Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 3636 with :
3737 ref : ${{ github.ref }}
3838 repo-token : ${{ secrets.GITHUB_TOKEN }}
39- check-name : ' Lint'
39+ check-regexp : (Build & Test .*| Lint|Docs build)
4040 wait-interval : 5
4141
4242 update_changelog :
@@ -87,11 +87,13 @@ jobs:
8787 uses : actions/setup-node@v4
8888 with :
8989 node-version : 22
90+ cache : ' npm'
91+ cache-dependency-path : ' package-lock.json'
9092 - name : Install dependencies
9193 run : |
9294 echo "access=public" >> .npmrc
9395 echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc
94- npm install
96+ npm ci
9597 - # Check version consistency and increment pre-release version number for beta only.
9698 name : Bump pre-release version
9799 run : node ./.github/scripts/before-beta-release.cjs
Original file line number Diff line number Diff line change 4343 custom_version : ${{ inputs.custom_version }}
4444 existing_changelog_path : CHANGELOG.md
4545
46+ wait_for_checks :
47+ name : Wait for code checks to pass
48+ runs-on : ubuntu-latest
49+ steps :
50+ 51+ with :
52+ ref : ${{ github.ref }}
53+ repo-token : ${{ secrets.GITHUB_TOKEN }}
54+ check-regexp : (Build & Test .*|Lint|Docs build)
55+ wait-interval : 5
56+
4657 update_changelog :
47- needs : [ release_metadata ]
58+ needs : [ release_metadata, wait_for_checks ]
4859 name : Update changelog
4960 runs-on : ubuntu-latest
5061 outputs :
@@ -106,6 +117,8 @@ jobs:
106117 uses : actions/setup-node@v4
107118 with :
108119 node-version : 22
120+ cache : ' npm'
121+ cache-dependency-path : ' package-lock.json'
109122 - name : Install dependencies
110123 run : |
111124 echo "access=public" >> .npmrc
You can’t perform that action at this time.
0 commit comments