Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
shunjizhan committed Sep 17, 2024
1 parent 64bd3bb commit 73f28c6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@ jobs:
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
files: .coverage/lcov.info


2 changes: 1 addition & 1 deletion .nycrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"sourceMap": true,
"instrument": true,
"require": ["ts-node/register"],
"report-dir": ".coverage-e2e"
"report-dir": ".coverage"
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
"repository": "https://github.com/AcalaNetwork/wormhole-relayer/",
"scripts": {
"build": "tsc",
"dev": "ts-node-dev --respawn src/index.ts | pino-pretty --singleLine --colorize --ignore time,hostname,ip",
"start": "node dist/index.js",
"start:coverage": "pm2 start --name relayer 'nyc node -r ts-node/register src/index.ts' && ./scripts/health-check.sh",
"stop:coverage": "pm2 stop relayer && pm2 delete relayer",
"start:test-infra": "docker compose up",
"dev": "ts-node-dev --respawn src/index.ts | pino-pretty --singleLine --colorize --ignore time,hostname,ip",
"test": "vitest src/__tests__/*.test.ts --singleThread --run",
"test:e2e": "yarn start:coverage && yarn test && yarn stop:coverage",
"test:ci": "yarn start:test-stack; yarn test:coverage",
"clean": "rm -rf .coverage-e2e .nyc_output dist/"
"test:coverage": "yarn start:coverage && yarn test && yarn stop:coverage",
"test:ci": "yarn start:test-infra; yarn test:coverage",
"clean": "rm -rf .coverage .nyc_output dist/"
},
"dependencies": {
"@acala-network/api": "~6.0.4",
Expand Down

0 comments on commit 73f28c6

Please sign in to comment.