Skip to content

Commit

Permalink
update wasm (#12)
Browse files Browse the repository at this point in the history
* update wasm

* update wasm

* update wasm

* Update ci-data-wasm.yml

* rm tsconfig.json

* update submodule
  • Loading branch information
gpBlockchain authored Jan 22, 2025
1 parent b54598c commit 34d472e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 27 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/ci-data-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,11 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: '16'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Node Cache
uses: actions/cache@v2
id: npm-and-yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: |
${{ steps.yarn-cache-dir-path.outputs.dir }}
~/.npm
key: ${{ runner.os }}-node_modules-${{ hashFiles('/home/runner/work/**/package-lock.json', '/home/runner/work/**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node_modules-
- name: prepare env
id: runtest
run: |
npm install --save-dev mocha @types/mocha chai @types/chai
bash prepare_wasm.sh
npm install --save-dev mocha @types/mocha chai @types/chai
- name: run test
id: ci-test
run: |
Expand Down
2 changes: 1 addition & 1 deletion ckb-light-wasm-demo
9 changes: 9 additions & 0 deletions prepare_wasm.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
set -x
git submodule init
git submodule update
cd ckb-light-wasm-demo
git log -1
git submodule init
git submodule update
cd ckb-light-client
git log -1
cd ../
bash build.sh
12 changes: 0 additions & 12 deletions tsconfig.json

This file was deleted.

0 comments on commit 34d472e

Please sign in to comment.