Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci fix attempt #4

Merged
merged 8 commits into from
Jun 27, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
with:
node-version: 20
cache: "npm"
cache-dependency-path: "wormhole-connect/package-lock.json"
- run: cd wormhole-connect
- run: npm ci
- run: npm run lint:ci
test:
Expand All @@ -30,9 +32,10 @@ jobs:
with:
node-version: 20
cache: "npm"
cache-dependency-path: "wormhole-connect/package-lock.json"
- run: cd wormhole-connect
- run: npm ci
- run: npm run build -w sdk
- run: npm test -w wormhole-connect
- run: npm test
env:
REACT_APP_SOLANA_RPC: ${{ vars.REACT_APP_SOLANA_RPC }}

Expand All @@ -54,9 +57,9 @@ jobs:
with:
node-version: 20
cache: "npm"
- run: npm ci
barnjamin marked this conversation as resolved.
Show resolved Hide resolved
- run: npm run build -w sdk
- run: cd wormhole-connect && npx tsx scripts/checkForeignAssetsConfig.ts
cache-dependency-path: "wormhole-connect/package-lock.json"
- run: cd wormhole-connect
- run: npx tsx scripts/checkForeignAssetsConfig.ts
build-hosted:
runs-on: ubuntu-latest

Expand All @@ -66,6 +69,8 @@ jobs:
with:
node-version: 20
cache: "npm"
cache-dependency-path: "wormhole-connect/package-lock.json"
- run: cd wormhole-connect
- run: npm ci
- run: npm run build:hosted
build-library:
Expand All @@ -77,5 +82,7 @@ jobs:
with:
node-version: 20
cache: "npm"
cache-dependency-path: "wormhole-connect/package-lock.json"
- run: cd wormhole-connect
- run: npm ci
- run: npm run build:lib
Loading