Skip to content

Commit

Permalink
Merge pull request #23 from zikeji/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
zikeji authored Oct 19, 2020
2 parents c13c99a + 9beee2e commit 063ebd8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Build
run: npm run build --if-present
- name: Run tests
run: npm run coverage
run: npm run coverage:ci
env:
CI: true
HYPIXEL_KEY: ${{ secrets.HYPIXEL_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Build
run: npm run build --if-present
- name: Run tests
run: npm run coverage
run: npm run coverage:ci
env:
CI: true
HYPIXEL_KEY: ${{ secrets.HYPIXEL_KEY }}
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@
"types:openapi": "dtsgen --out ./src/types/api.ts --target ES2015 ./openapi.yaml && replace \"declare namespace\" \"export declare namespace\" src/types/api.ts && eslint --ext ts ./src/types/api.ts --fix",
"watch": "npm run clean && tsc -p . -w",
"test": "nodenv --exec npx -- mocha -r ts-node/register tests/**/*.test.ts",
"test:ci": "mocha -r ts-node/register tests/**/*.test.ts",
"test:lint": "eslint --ext ts src",
"coverage": "nyc npm t",
"coverage:ci": "nyc npm run test:ci",
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs",
"test:build": "npm run test:lint && npm run build && npm run test && npm run coverage && npm run docs"
Expand Down

0 comments on commit 063ebd8

Please sign in to comment.