Skip to content

Commit 3cac90a

Browse files
committed
Update CI
1 parent f9bd23c commit 3cac90a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build-lint-test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
node-version: ${{ matrix.node-version }}
2727
cache-node-modules: ${{ matrix.node-version == '20.x' }}
2828
- name: Prepare "@metamask/snaps-execution-environments" build
29-
run: yarn workspace @metamask/snaps-execution-environments run build:lavamoat
29+
run: yarn workspace @metamask/snaps-execution-environments run build:lavamoat:test
3030
- name: Save "@metamask/snaps-execution-environments" build
3131
id: cache-snaps-execution-environments-build
3232
uses: actions/upload-artifact@v4
@@ -95,12 +95,16 @@ jobs:
9595
policy:
9696
name: Generate LavaMoat policy
9797
runs-on: ubuntu-latest
98-
needs: prepare
98+
needs: build
9999
steps:
100100
- name: Checkout and setup environment
101101
uses: MetaMask/action-checkout-and-setup@v1
102102
with:
103103
is-high-risk-environment: false
104+
- name: Restore build files
105+
uses: actions/download-artifact@v4
106+
with:
107+
name: build-source-${{ runner.os }}-${{ github.sha }}
104108
- name: Generate LavaMoat policy
105109
run: yarn workspace @metamask/snaps-execution-environments build:lavamoat:policy
106110
- name: Require clean working directory

0 commit comments

Comments
 (0)