Skip to content

Commit 4002459

Browse files
committed
[ci] Add check_release_dependencies job
ghstack-source-id: eb561ce60375c9e1da677980d330297799c650ac Pull Request resolved: #30169
1 parent efbc33e commit 4002459

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

0 commit comments

Comments
 (0)