-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
45 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,24 +49,24 @@ jobs: | |
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Checkout Lit Actions | ||
uses: actions/checkout@v4 | ||
id: checkout | ||
with: | ||
fetch-depth: 0 | ||
repository: LIT-Protocol/lit-assets | ||
ref: ${{env.DATIL_COMMIT_HASH}} | ||
token: ${{secrets.GH_PAT_FOR_SHIVA}} | ||
path: ${{ github.workspace }}/lit-assets/ | ||
submodules: false | ||
sparse-checkout: | | ||
blockchain | ||
rust/lit-node | ||
- name: Check LA dir | ||
run: ls -la ${{github.workspace}}/lit-assets | ||
- name: Install LA Blockchain Dependencies | ||
run: npm i | ||
working-directory: ${{github.workspace}}/lit-assets/blockchain/contracts | ||
# - name: Checkout Lit Actions | ||
# uses: actions/checkout@v4 | ||
# id: checkout | ||
# with: | ||
# fetch-depth: 0 | ||
# repository: LIT-Protocol/lit-assets | ||
# ref: ${{env.DATIL_COMMIT_HASH}} | ||
# token: ${{secrets.GH_PAT_FOR_SHIVA}} | ||
# path: ${{ github.workspace }}/lit-assets/ | ||
# submodules: false | ||
# sparse-checkout: | | ||
# blockchain | ||
# rust/lit-node | ||
# - name: Check LA dir | ||
# run: ls -la ${{github.workspace}}/lit-assets | ||
# - name: Install LA Blockchain Dependencies | ||
# run: npm i | ||
# working-directory: ${{github.workspace}}/lit-assets/blockchain/contracts | ||
- name: Log in to GitHub Container Registry | ||
uses: docker/login-action@v2 | ||
with: | ||
|
@@ -83,33 +83,33 @@ jobs: | |
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '20' | ||
- uses: jetli/[email protected] | ||
with: | ||
# Optional version of wasm-pack to install(eg. 'v0.9.1', 'latest') | ||
version: 'latest' | ||
- name: Install project dependencies | ||
run: yarn --frozen-lockfile | ||
- uses: nrwl/nx-set-shas@v3 | ||
with: | ||
main-branch-name: 'master' | ||
- name: Build packages | ||
id: build | ||
run: yarn build:dev | ||
- name: Copy ENV File | ||
run: cp .env.ci .env | ||
- name: Run End to End Tests | ||
if: steps.build.outputs.exit_code == 0 | ||
run: yarn test:local --filter=testUseEoaSessionSigsToExecuteJsSigning,testUseEoaSessionSigsToPkpSign,testUsePkpSessionSigsToExecuteJsSigning,testUsePkpSessionSigsToPkpSign,testUseValidLitActionCodeGeneratedSessionSigsToPkpSign,testUseValidLitActionCodeGeneratedSessionSigsToExecuteJsSigning,testDelegatingCapacityCreditsNFTToAnotherWalletToExecuteJs,testEthAuthSigToEncryptDecryptString,testExecuteJsSignAndCombineEcdsa,testExecutJsDecryptAndCombine,testExecuteJsBroadcastAndCollect --exclude=Parallel | ||
- name: Get Container Logs | ||
if: always() | ||
run: docker logs shiva | ||
- name: Post Pull Shiva Container | ||
id: container-stop | ||
if: steps.shiva-pull.outputs.exit_code == 0 | ||
run: docker stop shiva && docker rm shiva | ||
- name: Post Pull Shiva Image | ||
if: steps.shiva-pull.outputs.exit_code == 0 | ||
run: docker rmi ghcr.io/lit-protocol/shiva | ||
# - uses: jetli/[email protected] | ||
# with: | ||
# # Optional version of wasm-pack to install(eg. 'v0.9.1', 'latest') | ||
# version: 'latest' | ||
# - name: Install project dependencies | ||
# run: yarn --frozen-lockfile | ||
# - uses: nrwl/nx-set-shas@v3 | ||
# with: | ||
# main-branch-name: 'master' | ||
# - name: Build packages | ||
# id: build | ||
# run: yarn build:dev | ||
# - name: Copy ENV File | ||
# run: cp .env.ci .env | ||
# - name: Run End to End Tests | ||
# if: steps.build.outputs.exit_code == 0 | ||
# run: yarn test:local --filter=testUseEoaSessionSigsToExecuteJsSigning,testUseEoaSessionSigsToPkpSign,testUsePkpSessionSigsToExecuteJsSigning,testUsePkpSessionSigsToPkpSign,testUseValidLitActionCodeGeneratedSessionSigsToPkpSign,testUseValidLitActionCodeGeneratedSessionSigsToExecuteJsSigning,testDelegatingCapacityCreditsNFTToAnotherWalletToExecuteJs,testEthAuthSigToEncryptDecryptString,testExecuteJsSignAndCombineEcdsa,testExecutJsDecryptAndCombine,testExecuteJsBroadcastAndCollect --exclude=Parallel | ||
# - name: Get Container Logs | ||
# if: always() | ||
# run: docker logs shiva | ||
# - name: Post Pull Shiva Container | ||
# id: container-stop | ||
# if: steps.shiva-pull.outputs.exit_code == 0 | ||
# run: docker stop shiva && docker rm shiva | ||
# - name: Post Pull Shiva Image | ||
# if: steps.shiva-pull.outputs.exit_code == 0 | ||
# run: docker rmi ghcr.io/lit-protocol/shiva | ||
# ping-lit-configuration-guides: | ||
# runs-on: ubuntu-latest | ||
# # needs: [unit-tests, integration-tests] # Make sure this job runs after others complete | ||
|