Skip to content

Commit

Permalink
remove cache
Browse files Browse the repository at this point in the history
  • Loading branch information
douglance committed Aug 15, 2024
1 parent c4b1904 commit f62eba1
Showing 1 changed file with 6 additions and 28 deletions.
34 changes: 6 additions & 28 deletions .github/workflows/monitoring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@ env:
NODE_ENV: "CI"

jobs:
setup:
run-monitoring:
runs-on: ubuntu-latest
strategy:
matrix:
chain: [core, orbit]
monitor: [assertion, batch-poster, retryable]
steps:
- name: Checkout repositories
uses: actions/checkout@v4
Expand All @@ -36,32 +40,6 @@ jobs:
node-version: latest
- run: cd ./arbitrum-monitoring && yarn install

- name: Cache Arbitrum Monitoring setup
uses: actions/cache@v2
with:
path: |
./arbitrum-token-bridge
./arbitrum-monitoring
./node_modules
key: ${{ runner.os }}-arbitrum-monitoring-${{ hashFiles('**/yarn.lock') }}

run-monitoring:
needs: setup
runs-on: ubuntu-latest
strategy:
matrix:
chain: [core, orbit]
monitor: [assertion, batch-poster, retryable]
steps:
- name: Restore cached Arbitrum Monitoring setup
uses: actions/cache@v2
with:
path: |
./arbitrum-token-bridge
./arbitrum-monitoring
./node_modules
key: ${{ runner.os }}-arbitrum-monitoring-${{ hashFiles('**/yarn.lock') }}

- name: Load configuration
id: config
run: |
Expand All @@ -72,7 +50,7 @@ jobs:
echo "slack_channel=$(echo $CONFIG | jq -r '.slackChannels.${{ matrix.monitor }}')" >> $GITHUB_OUTPUT
- name: Generate chains JSON
run: ls && cd ./arbitrum-token-bridge && yarn workspace arb-token-bridge-ui ${{ steps.config.outputs.generate_command }}
run: yarn workspace arb-token-bridge-ui ${{ steps.config.outputs.generate_command }}
env:
BATCH_POSTER_MONITORING: ${{ matrix.monitor == 'batch-poster' }}

Expand Down

0 comments on commit f62eba1

Please sign in to comment.