Skip to content

Commit 2fce702

Browse files
author
Josh Long
committed
ci: test with la in volume
1 parent 0b5dfa4 commit 2fce702

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,19 @@ jobs:
4242
uses: actions/checkout@v2
4343
with:
4444
fetch-depth: 0
45+
- name: Checkout Lit Actions
46+
uses: actions/checkout@v4
47+
id: checkout
48+
with:
49+
fetch-depth: 0
50+
repository: LIT-Protocol/lit-assets
51+
ref: ${{env.DATIL_COMMIT_HASH}}
52+
token: ${{secrets.GH_PAT}}
53+
path: ${{ github.workspace }}/lit-assets/
54+
submodules: false
55+
sparse-checkout: |
56+
blockchain
57+
rust/lit-node
4558
- name: Docker login
4659
id: login
4760
run: docker login ghcr.io/ -u ${{secrets.GH_USER}} --password ${{secrets.GH_PAT}}
@@ -50,9 +63,7 @@ jobs:
5063
run: docker pull ghcr.io/lit-protocol/shiva:latest
5164
- name: Run Shiva Container
5265
id: shiva-runner
53-
run: |
54-
mkdir ${{github.workspace}}/data
55-
docker run -d -m 32g -p 8000:8000 -p 8545:8545 -p 7470:7470 -p 7471:7471 -p 7472:7472 -p 7473:7473 -p 7474:7474 -p 7475:7475 -v ${{github.workspace}}/data:/data -e GH_PAT=${{secrets.GH_PAT}} -e HASH=$DATIL_COMMIT_HASH -e IPFS_API_KEY=${{secrets.IPFS_API_KEY}} --name shiva ghcr.io/lit-protocol/shiva:snap-shot-test
66+
run: docker run -d -m 32g -p 8000:8000 -p 8545:8545 -p 7470:7470 -p 7471:7471 -p 7472:7472 -p 7473:7473 -p 7474:7474 -p 7475:7475 -v ${{github.workspace}}/data:/data -e GH_PAT=${{secrets.GH_PAT}} -e HASH=$DATIL_COMMIT_HASH -e IPFS_API_KEY=${{secrets.IPFS_API_KEY}} --name shiva ghcr.io/lit-protocol/shiva:snap-shot-test
5667
- name: Set up Node.js
5768
uses: actions/setup-node@v3
5869
with:

0 commit comments

Comments
 (0)