Skip to content

Commit 82949b2

Browse files
committed
Fix workflow
1 parent 36855ec commit 82949b2

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/unittest.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ jobs:
2323

2424
- name: Run test
2525
run: |
26-
npm install
26+
rm package-lock.json
27+
npm install --no-optional
2728
npm run test

package-lock.json

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,8 @@
5858
"directories": {
5959
"lib": "lib",
6060
"test": "test"
61+
},
62+
"optionalDependencies": {
63+
"fsevents": "^2.3.2"
6164
}
6265
}

0 commit comments

Comments
 (0)