@samitouri / QOS-React-1 / commits / df5f273629

[ci] Add check_release_dependencies job

ghstack-source-id: 492e7e0a299b146d237f1456fedd5a95789c1636 Pull Request resolved: https://github.com/facebook/react/pull/30169

Lauren Tan committed Jul 12, 2024 at 11:21 UTC df5f273629d8da586351573347e8b32ba19dafa7
1 file changed +27
.github/workflows/runtime_build.yml
+27
@@ -154,3 +154,30 @@ jobs:
154 path: |
155 ./build.tgz
156 ./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