Skip to content

Commit 0530e0b

Browse files
committed
[ci] Add check_release_dependencies job
ghstack-source-id: c91f5332d0eb814742dce3a0c1c0d2c4f6435ba0 Pull Request resolved: #30169
1 parent 336362a commit 0530e0b

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
@@ -145,3 +145,30 @@ jobs:
145145
path: |
146146
./build.tgz
147147
./build2.tgz
148+
149+
check_release_dependencies:
150+
name: Check release dependencies
151+
needs: build_and_lint
152+
runs-on: ubuntu-latest
153+
steps:
154+
- uses: actions/checkout@v4
155+
- uses: actions/setup-node@v4
156+
with:
157+
node-version: 18.x
158+
cache: "yarn"
159+
cache-dependency-path: yarn.lock
160+
- name: Restore cached node_modules
161+
uses: actions/cache@v4
162+
id: node_modules
163+
with:
164+
path: "**/node_modules"
165+
key: ${{ runner.arch }}-${{ runner.os }}-modules-${{ hashFiles('yarn.lock') }}
166+
- run: yarn install --frozen-lockfile
167+
- name: Restore archived build
168+
uses: actions/download-artifact@v4
169+
with:
170+
path: build
171+
merge-multiple: true
172+
- name: Display structure of build
173+
run: ls -R build
174+
- run: yarn check-release-dependencies

0 commit comments

Comments
 (0)