Skip to content

Commit 7dea12e

Browse files
committed
[ci] Add check_release_dependencies job
ghstack-source-id: 4dcc4416245d2eb62188b427e9a462c7a332942d Pull Request resolved: #30169
1 parent 938f9d4 commit 7dea12e

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/runtime_build.yml

+27
Original file line numberDiff line numberDiff line change
@@ -182,3 +182,30 @@ jobs:
182182
path: |
183183
./build.tgz
184184
./build2.tgz
185+
186+
check_release_dependencies:
187+
name: Check release dependencies
188+
needs: build
189+
runs-on: ubuntu-latest
190+
steps:
191+
- uses: actions/checkout@v4
192+
- uses: actions/setup-node@v4
193+
with:
194+
node-version: 18.x
195+
cache: "yarn"
196+
cache-dependency-path: yarn.lock
197+
- name: Restore cached node_modules
198+
uses: actions/cache@v4
199+
id: node_modules
200+
with:
201+
path: "**/node_modules"
202+
key: ${{ runner.arch }}-${{ runner.os }}-modules-${{ hashFiles('yarn.lock') }}
203+
- run: yarn install --frozen-lockfile
204+
- name: Restore archived build
205+
uses: actions/download-artifact@v4
206+
with:
207+
path: build
208+
merge-multiple: true
209+
- name: Display structure of build
210+
run: ls -R build
211+
- run: yarn check-release-dependencies

0 commit comments

Comments
 (0)