Skip to content

Commit cb97ad0

Browse files
ci(github): add script test:module and run in build.yml
1 parent cb05ff7 commit cb97ad0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
- run: npm run lint
2020
- run: npm run lint:dts
2121
- run: npm run test:ci
22+
- run: npm run test:module
2223
- run: npm run test:integration
2324
- run: npm run benchmark
2425
- name: Coveralls

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"release": "standard-version --no-verify",
1717
"test": "jest --coverage --testPathIgnorePatterns test/integration/",
1818
"test:ci": "npm test -- --ci",
19+
"test:module": "node --experimental-modules test/module/index.mjs",
1920
"test:integration": "npm run build && jest test/integration/",
2021
"test:watch": "npm test -- --watch"
2122
},

0 commit comments

Comments
 (0)