Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
fionnachan committed Sep 25, 2024
1 parent f0c69f6 commit 1947232
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
13 changes: 13 additions & 0 deletions .github/actions/restore-build-artifacts/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Restore build artifacts
description: Restore build artifacts

runs:
using: composite
steps:
- name: Restore build artifacts
uses: actions/cache/restore@v4
with:
path: |
./packages/arb-token-bridge-ui/build
key: build-artifacts-${{ github.run_id }}
fail-on-cache-miss: true
3 changes: 3 additions & 0 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ jobs:
- name: Install node_modules
uses: OffchainLabs/actions/node-modules/install@main

- name: Restore build artifacts
uses: ./.github/actions/restore-build-artifacts

- name: Install cypress
run: yarn cypress install

Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,7 @@ jobs:
uses: OffchainLabs/actions/node-modules/install@main

- name: Restore build artifacts
uses: actions/cache/restore@v4
with:
path: |
./packages/arb-token-bridge-ui/build
key: build-artifacts-${{ github.run_id }}
uses: ./.github/actions/restore-build-artifacts

- name: Start UI and Test
run: yarn start-server-and-test 'start' http://127.0.0.1:3000 'yarn test:ci'
Expand Down

0 comments on commit 1947232

Please sign in to comment.