Skip to content

Commit

Permalink
Merge branch 'main' into chore/issue-templates
Browse files Browse the repository at this point in the history
  • Loading branch information
7nohe committed Apr 20, 2024
2 parents af60b48 + a2950dc commit 2cd9cb4
Show file tree
Hide file tree
Showing 8 changed files with 3,119 additions and 2,034 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 8
version: 9

- name: Install Node.js
uses: actions/setup-node@v4
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8
version: 9
- name: Install Node.js
uses: actions/setup-node@v4
with:
Expand All @@ -44,3 +44,6 @@ jobs:

- name: Run tsc
run: pnpm --filter @7nohe/react-app test:generated

- name: Run test
run: pnpm test
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"build": "rimraf dist && tsc -p tsconfig.json",
"preview": "npm run build && npm -C examples/react-app run generate:api",
"prepublishOnly": "npm run build",
"release": "npx git-ensure -a && npx bumpp --commit --tag --push"
"release": "npx git-ensure -a && npx bumpp --commit --tag --push",
"test": "vitest"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -43,7 +44,8 @@
"glob": "^10.3.10",
"rimraf": "^5.0.5",
"ts-morph": "^22.0.0",
"typescript": "^5.3.3"
"typescript": "^5.3.3",
"vitest": "^1.5.0"
},
"peerDependencies": {
"@hey-api/openapi-ts": "0.36.0",
Expand Down
Loading

0 comments on commit 2cd9cb4

Please sign in to comment.