mirror of
https://github.com/zhigang1992/liquid-stacking.git
synced 2026-01-12 22:48:34 +08:00
chore: init cache first
This commit is contained in:
1
.github/workflows/node.js.yml
vendored
1
.github/workflows/node.js.yml
vendored
@@ -27,4 +27,5 @@ jobs:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'yarn'
|
||||
- run: yarn install --immutable --immutable-cache --check-cache
|
||||
- run: yarn test:init
|
||||
- run: yarn test
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
"replace:testnet": "node --no-warnings=ExperimentalWarning --loader ts-node/esm ./scripts/replace-testnet-address.ts",
|
||||
"setup:clarity": "./scripts/clarinet_manager.sh clean && ./scripts/clarinet_manager.sh install",
|
||||
"test": "npm run replace:mainnet && vitest run && npm run replace:testnet",
|
||||
"test:init": "vitest run -t notests",
|
||||
"test:report": "npm run replace:testnet && vitest run -- --coverage --costs && npm run replace:testnet",
|
||||
"test:watch": "chokidar \"tests/**/*.ts\" \"contracts/**/*.clar\" -c \"npm run test:report\"",
|
||||
"generate:report": "genhtml --branch-coverage -o coverage lcov.info"
|
||||
|
||||
Reference in New Issue
Block a user