Skip to content

Commit

Permalink
Merge pull request #65 from chhsiao1981/src-index.ts
Browse files Browse the repository at this point in the history
default main-entry as src/index.ts

1. somehow the vite.js or tsc includes the React
   into the lib, resulting duplicated React and unable to use.

2. package-lock.json on M1 Mac is no longer workable on the amd64 linux machines.
  • Loading branch information
chhsiao1981 authored Feb 13, 2025
2 parents 0e28ac8 + 7b3ec5d commit 96844be
Show file tree
Hide file tree
Showing 3 changed files with 158 additions and 871 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,14 @@ jobs:
run: npm install

# test
- name: run test
- name: npm test
id: test
run: npm test
continue-on-error: true

- name: error handle package-lock.json
if: job.steps.test.status == failure()
run: rm -rf package-lock.json node_modules; npm install; npm test

# coverage
- name: coverage
Expand Down
Loading

0 comments on commit 96844be

Please sign in to comment.