Skip to content

Commit 5802352

Browse files
authored
Merge pull request #3 from SkArchon/skarchon/cli-added
updates
2 parents b4c18f7 + 3527805 commit 5802352

File tree

3 files changed

+266
-97
lines changed

3 files changed

+266
-97
lines changed

.github/workflows/cli-ci.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ jobs:
8080
working-directory: cli
8181
run: bun test e2e --test-name-pattern node
8282

83+
- name: Upload results to Codecov
84+
uses: codecov/codecov-action@v5
85+
with:
86+
token: ${{ secrets.CODECOV_TOKEN }}
87+
8388
build_bun_matrix:
8489
runs-on: ubuntu-latest
8590
timeout-minutes: 30

cli/package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@
2525
"build": "rm -rf dist && tsc",
2626
"build:bun": "bun build --compile --production --outfile wgc src/index.ts",
2727
"wgc": "tsx --env-file .env src/index.ts",
28-
"test": "pnpm lint && vitest run test/",
29-
"coverage": "vitest run --coverage",
28+
"test": "pnpm lint && vitest run test/ --coverage",
29+
"coverage": "vitest run test/ --coverage",
3030
"lint": "eslint --cache --ext .ts,.mjs,.cjs . && prettier -c src",
3131
"lint:fix": "eslint --cache --fix --ext .ts,.mjs,.cjs . && prettier --write -c src",
32-
"e2e": "bun test e2e/"
32+
"e2e": "bun test e2e/",
33+
"ui": "vitest --ui"
3334
},
3435
"keywords": [
3536
"wundergraph",
@@ -98,6 +99,7 @@
9899
"@types/prompts": "2.4.9",
99100
"@types/semver": "7.7.0",
100101
"@types/tar": "6.1.13",
102+
"@vitest/coverage-v8": "3.2.4",
101103
"del-cli": "5.0.0",
102104
"eslint": "8.57.1",
103105
"eslint-config-unjs": "0.2.1",

0 commit comments

Comments
 (0)