Skip to content

Commit

Permalink
ci: use @helia/interop directly
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Jan 17, 2024
1 parent c0d7da2 commit d048705
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,26 +70,7 @@ jobs:
restore-keys: ${{ runner.os }}-${{ github.job }}-helia-
- run: sudo apt update
- run: sudo apt install -y libxkbcommon0 libxdamage1 libgbm1 libpango-1.0-0 libcairo2 # dependencies for playwright
- uses: actions/checkout@v4
with:
repository: ipfs/helia
fetch-depth: 0
path: interop
ref: 'main'
- name: Checkout latest tag
run: |
export TAG="$(git tag | grep "^interop-" | sort --version-sort --reverse | head -n1)"
echo "Running tests against: $TAG"
git checkout "$TAG"
working-directory: interop
- run: npm install
working-directory: interop
- run: npm run build
working-directory: interop
- run: npm install
working-directory: interop/packages/interop
- run: npm test
working-directory: interop/packages/interop
- run: npx --package @helia/interop@next helia-interop
env:
KUBO_BINARY: ${{ github.workspace }}/cmd/ipfs/ipfs
ipfs-webui:
Expand Down

0 comments on commit d048705

Please sign in to comment.