Skip to content

Commit

Permalink
Fix CI failing on snaps-cli due to lack of build files
Browse files Browse the repository at this point in the history
  • Loading branch information
ritave committed Oct 7, 2024
1 parent 58dde8e commit 9c9583a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,16 @@ jobs:
packages/snaps-execution-environments/dist/browserify
key: snaps-execution-environments-build-${{ runner.os }}-${{ matrix.node-version }}-${{ github.sha }}
fail-on-cache-miss: true
- name: Restore build files
uses: actions/cache@v4
with:
path: |
packages/*/dist
key: build-source-${{ runner.os }}-${{ github.sha }}
fail-on-cache-miss: true
- run: yarn --immutable --immutable-cache
- name: Install Google Chrome
run: yarn install-chrome
- run: yarn workspace @metamask/snaps-sdk run build
if: ${{ matrix.package-name == '@metamask/snaps-cli' }}
- run: yarn workspace ${{ matrix.package-name }} run test
- name: Get coverage folder
id: get-coverage-folder
Expand Down Expand Up @@ -320,5 +325,5 @@ jobs:
node-version-file: '.nvmrc'
cache: yarn
- run: yarn --immutable
- run: yarn workspace @metamask/snaps-sdk run build
- run: yarn build:ci
- run: yarn workspace @metamask/snaps-cli run test

0 comments on commit 9c9583a

Please sign in to comment.