admin: updates for CI
This commit is contained in:
parent
66ad5f82fb
commit
e2b98b9e73
8
.github/workflows/test-ci.yml
vendored
8
.github/workflows/test-ci.yml
vendored
@ -15,7 +15,9 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
node-version: [ 16.x, 18.x ]
|
||||
test-type: [ test, test-commonjs ]
|
||||
test-type: [ esm, commonjs ]
|
||||
|
||||
name: Run Tests (node: ${{ matrix.node-version }}, type: ${{ matrix.test-type }})
|
||||
|
||||
steps:
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
@ -35,12 +37,12 @@ jobs:
|
||||
run: npm run build-all
|
||||
|
||||
- name: Run tests (${{ matrix.test-type }})
|
||||
run: npm run ${{ matrix.test-type }}
|
||||
run: npm run test-${{ matrix.test-type }}
|
||||
|
||||
|
||||
coverage:
|
||||
|
||||
name: Coverage
|
||||
name: Generate Coverage
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
1
output/.keep
Normal file
1
output/.keep
Normal file
@ -0,0 +1 @@
|
||||
# Keep this folder
|
@ -104,7 +104,7 @@
|
||||
"types": "./types/wordlistsindex.d.ts"
|
||||
}
|
||||
},
|
||||
"gitHead": "1f2318a34a224fc7e4c63fae1c680e1af14895ec",
|
||||
"gitHead": "9771b851f8a1173a2a3474f618e999a7672d2347",
|
||||
"keywords": [
|
||||
"ethereum",
|
||||
"ethers",
|
||||
@ -136,12 +136,13 @@
|
||||
"build-types": "tsc --project tsconfig.types.json",
|
||||
"clean": "rm -rf dist lib.esm lib.commonjs types",
|
||||
"stats": "echo 'Dependencies' && npm ls --all --omit=dev",
|
||||
"test": "mocha --reporter ./reporter.cjs ./lib.esm/_tests/test-*.js",
|
||||
"test": "npm run test-esm",
|
||||
"test-esm": "mocha --reporter ./reporter.cjs ./lib.esm/_tests/test-*.js",
|
||||
"test-commonjs": "mocha --reporter ./reporter.cjs ./lib.commonjs/_tests/test-*.js",
|
||||
"test-coverage": "c8 -o output -r lcov -r text mocha --no-color --reporter ./reporter.cjs ./lib.esm/_tests/test-*.js | tee output/summary.txt"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"types": "./types/index.d.ts",
|
||||
"version": "6.0.0-beta-exports.3"
|
||||
"version": "6.0.0-beta-exports.4"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user