Skip to content

Commit 1b47a8d

Browse files
committed
[ci] Add check_release_dependencies job
ghstack-source-id: 492e7e0 Pull Request resolved: #30169
1 parent 947759d commit 1b47a8d

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/runtime_build.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,3 +154,30 @@ jobs:
154154
path: |
155155
./build.tgz
156156
./build2.tgz
157+
158+
check_release_dependencies:
159+
name: Check release dependencies
160+
needs: build_and_lint
161+
runs-on: ubuntu-latest
162+
steps:
163+
- uses: actions/checkout@v4
164+
- uses: actions/setup-node@v4
165+
with:
166+
node-version: 18.20.1
167+
cache: yarn
168+
cache-dependency-path: yarn.lock
169+
- name: Restore cached node_modules
170+
uses: actions/cache@v4
171+
id: node_modules
172+
with:
173+
path: "**/node_modules"
174+
key: ${{ runner.arch }}-${{ runner.os }}-modules-${{ hashFiles('yarn.lock') }}
175+
- run: yarn install --frozen-lockfile
176+
- name: Restore archived build
177+
uses: actions/download-artifact@v4
178+
with:
179+
path: build
180+
merge-multiple: true
181+
- name: Display structure of build
182+
run: ls -R build
183+
- run: yarn check-release-dependencies

0 commit comments

Comments
 (0)