diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 2439437235..b26b1c15a2 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -21,8 +21,6 @@ jobs: npm-test-unit: runs-on: namespace-profile-ubuntu-2-cores - # TODO: Remove unit test dependency on Wasm binary - needs: npm-build-wasm steps: - uses: actions/checkout@v5 @@ -39,19 +37,6 @@ jobs: - name: Download all artifacts uses: actions/download-artifact@v4 - - name: Copy prepared wasm - run: | - ls -R prepared-wasm - cp prepared-wasm/kcl_wasm_lib_bg.wasm public - mkdir rust/kcl-wasm-lib/pkg - cp prepared-wasm/kcl_wasm_lib* rust/kcl-wasm-lib/pkg - - - name: Copy prepared ts-rs bindings - run: | - ls -R prepared-ts-rs-bindings - mkdir rust/kcl-lib/bindings - cp -r prepared-ts-rs-bindings/* rust/kcl-lib/bindings/ - - name: npm run test:unit if: ${{ github.event_name != 'release' && github.event_name != 'schedule' }} run: |- diff --git a/Makefile b/Makefile index 8ff30dfa9c..6559a8f786 100644 --- a/Makefile +++ b/Makefile @@ -87,11 +87,11 @@ endif check: format lint .PHONY: format -format: install public/kcl_wasm_lib_bg.wasm ## Format the code +format: install ## Format the code npm run fmt .PHONY: lint -lint: install public/kcl_wasm_lib_bg.wasm ## Lint the code +lint: install ## Lint the code npm run tsc npm run lint @@ -130,8 +130,7 @@ endif test: test-unit test-integration .PHONY: test-unit -test-unit: install public/kcl_wasm_lib_bg.wasm ## Run the unit tests - # TODO: Remove unit test dependency on Wasm binary +test-unit: install ## Run the unit tests npm run test:unit .PHONY: test-integration