Skip to content

Commit

Permalink
[ci] Add check_release_dependencies job
Browse files Browse the repository at this point in the history
ghstack-source-id: fc510a20032a126757084f55deaff01da276055c
Pull Request resolved: #30169
  • Loading branch information
poteto committed Jul 12, 2024
1 parent 8f840ef commit 3201f6f
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/runtime_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,30 @@ jobs:
path: |
./build.tgz
./build2.tgz
check_release_dependencies:
name: Check release dependencies
needs: build_and_lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
cache: "yarn"
cache-dependency-path: yarn.lock
- name: Restore cached node_modules
uses: actions/cache@v4
id: node_modules
with:
path: "**/node_modules"
key: ${{ runner.arch }}-${{ runner.os }}-modules-${{ hashFiles('yarn.lock') }}
- run: yarn install --frozen-lockfile
- name: Restore archived build
uses: actions/download-artifact@v4
with:
path: build
merge-multiple: true
- name: Display structure of build
run: ls -R build
- run: yarn check-release-dependencies

0 comments on commit 3201f6f

Please sign in to comment.