Skip to content

Don't run check-token-list unless the token JSON files changed #1

Don't run check-token-list unless the token JSON files changed

Don't run check-token-list unless the token JSON files changed #1

Workflow file for this run

name: Check wrapped tokens cache
on:
pull_request:
push:
branches:
- development
- staging
- production
- mainnet
paths:
- wormhole-connect/src/config/mainnet/wrappedTokens.ts
- wormhole-connect/src/config/testnet/wrappedTokens.ts
jobs:
check-wrapped-token-cache:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "npm"
cache-dependency-path: "wormhole-connect/package-lock.json"
- run: npm ci
working-directory: wormhole-connect
- run: npm run checkForeignAssets
working-directory: wormhole-connect