Skip to content

Commit

Permalink
Merge pull request #4 from wormholelabs-xyz/head-transplant-ci-fix
Browse files Browse the repository at this point in the history
ci fix attempt
  • Loading branch information
artursapek committed Jun 27, 2024
2 parents b09900c + 01c9fc0 commit d0d9bd2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 34 deletions.
24 changes: 19 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ jobs:
with:
node-version: 20
cache: "npm"
cache-dependency-path: "wormhole-connect/package-lock.json"
- run: npm ci
working-directory: wormhole-connect
- run: npm run lint:ci
working-directory: wormhole-connect
test:
runs-on: ubuntu-latest

Expand All @@ -30,9 +33,11 @@ jobs:
with:
node-version: 20
cache: "npm"
cache-dependency-path: "wormhole-connect/package-lock.json"
- run: npm ci
- run: npm run build -w sdk
- run: npm test -w wormhole-connect
working-directory: wormhole-connect
- run: npm test
working-directory: wormhole-connect
env:
REACT_APP_SOLANA_RPC: ${{ vars.REACT_APP_SOLANA_RPC }}

Expand All @@ -43,7 +48,8 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Run script
run: cd wormhole-connect #&& npm i prettier && npm run checksdn
run: echo hi #npm i prettier && npm run checksdn
working-directory: wormhole-connect

check-token-list:
runs-on: ubuntu-latest
Expand All @@ -54,9 +60,11 @@ jobs:
with:
node-version: 20
cache: "npm"
cache-dependency-path: "wormhole-connect/package-lock.json"
- run: npm ci
- run: npm run build -w sdk
- run: cd wormhole-connect && npx tsx scripts/checkForeignAssetsConfig.ts
working-directory: wormhole-connect
- run: npx tsx scripts/checkForeignAssetsConfig.ts
working-directory: wormhole-connect
build-hosted:
runs-on: ubuntu-latest

Expand All @@ -66,8 +74,11 @@ jobs:
with:
node-version: 20
cache: "npm"
cache-dependency-path: "wormhole-connect/package-lock.json"
- run: npm ci
working-directory: wormhole-connect
- run: npm run build:hosted
working-directory: wormhole-connect
build-library:
runs-on: ubuntu-latest

Expand All @@ -77,5 +88,8 @@ jobs:
with:
node-version: 20
cache: "npm"
cache-dependency-path: "wormhole-connect/package-lock.json"
- run: npm ci
working-directory: wormhole-connect
- run: npm run build:lib
working-directory: wormhole-connect
29 changes: 0 additions & 29 deletions wormhole-connect/tests/ci/ntt.test.ts

This file was deleted.

0 comments on commit d0d9bd2

Please sign in to comment.