Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
iamchanii committed Apr 27, 2024
1 parent 739bf1c commit f58e5ab
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
- name: Install Dependencies
run: yarn

- name: Run Test
run: yarn test --coverage
- name: Run CI
run: yarn ci

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "pothos-plugin-effect-project",
"name": "root",
"private": true,
"workspaces": [
"packages/*"
Expand All @@ -11,9 +11,10 @@
},
"license": "MIT",
"scripts": {
"test": "yarn workspaces foreach -A run test",
"build": "yarn workspaces foreach -A run build",
"publish": "yarn workspaces foreach -A run publish"
"ci": "yarn workspaces foreach --exclude=root -W run ci",
"test": "yarn workspaces foreach --exclude=root -W run test",
"build": "yarn workspaces foreach --exclude=root -W run build",
"publish": "yarn workspaces foreach --exclude=root -W run publish"
},
"devDependencies": {
"@biomejs/biome": "1.5.3",
Expand Down
11 changes: 9 additions & 2 deletions packages/effect-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
"access": "public",
"registiry": "https://registry.npmjs.org"
},
"files": ["package.json", "README.md", "dist"],
"files": [
"package.json",
"README.md",
"dist"
],
"main": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
Expand All @@ -20,10 +24,13 @@
"scripts": {
"test": "vitest",
"build": "nanobundle build",
"ci": "yarn test --coverage && yarn build",
"prepack": "yarn build",
"publish": "yarn npm publish"
},
"keywords": ["effect"],
"keywords": [
"effect"
],
"author": {
"name": "Chanhee Lee",
"email": "[email protected]"
Expand Down
3 changes: 2 additions & 1 deletion packages/graphql-effect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"scripts": {
"test": "vitest",
"build": "nanobundle build",
"ci": "yarn test --coverage && yarn build",
"prepack": "yarn build",
"publish": "yarn npm publish"
},
Expand Down Expand Up @@ -52,6 +53,6 @@
},
"dependencies": {
"@graphql-tools/utils": "^10",
"effect-utils": "^0.0.1"
"effect-utils": "workspace:^"
}
}
3 changes: 2 additions & 1 deletion packages/pothos-plugin-effect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"scripts": {
"test": "yarn prisma generate && vitest",
"build": "nanobundle build",
"ci": "yarn test --coverage && yarn build",
"prepack": "yarn build",
"publish": "yarn npm publish"
},
Expand Down Expand Up @@ -62,7 +63,7 @@
"graphql": "^16 || ^17"
},
"dependencies": {
"effect-utils": "^0.0.1",
"effect-utils": "workspace:^",
"type-plus": "^7.6.0"
},
"packageManager": "[email protected]"
Expand Down
24 changes: 12 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2431,7 +2431,7 @@ __metadata:
languageName: node
linkType: hard

"effect-utils@npm:^0.0.1, effect-utils@workspace:packages/effect-utils":
"effect-utils@workspace:^, effect-utils@workspace:packages/effect-utils":
version: 0.0.0-use.local
resolution: "effect-utils@workspace:packages/effect-utils"
dependencies:
Expand Down Expand Up @@ -3400,7 +3400,7 @@ __metadata:
"@graphql-tools/utils": "npm:^10"
"@types/node": "npm:^20.12.7"
effect: "npm:^3.0.6"
effect-utils: "npm:^0.0.1"
effect-utils: "workspace:^"
graphql: "npm:^16.8.1"
nanobundle: "npm:*"
typescript: "npm:*"
Expand Down Expand Up @@ -4866,15 +4866,6 @@ __metadata:
languageName: node
linkType: hard

"pothos-plugin-effect-project@workspace:.":
version: 0.0.0-use.local
resolution: "pothos-plugin-effect-project@workspace:."
dependencies:
"@biomejs/biome": "npm:1.5.3"
"@changesets/cli": "npm:^2.27.1"
languageName: unknown
linkType: soft

"pothos-plugin-effect@workspace:packages/pothos-plugin-effect":
version: 0.0.0-use.local
resolution: "pothos-plugin-effect@workspace:packages/pothos-plugin-effect"
Expand All @@ -4891,7 +4882,7 @@ __metadata:
drizzle-kit: "npm:^0.20.14"
drizzle-orm: "npm:^0.29.3"
effect: "npm:^3.0.0"
effect-utils: "npm:^0.0.1"
effect-utils: "workspace:^"
graphql: "npm:*"
nanobundle: "npm:*"
prisma: "npm:5.9.1"
Expand Down Expand Up @@ -5252,6 +5243,15 @@ __metadata:
languageName: node
linkType: hard

"root@workspace:.":
version: 0.0.0-use.local
resolution: "root@workspace:."
dependencies:
"@biomejs/biome": "npm:1.5.3"
"@changesets/cli": "npm:^2.27.1"
languageName: unknown
linkType: soft

"run-parallel@npm:^1.1.9":
version: 1.2.0
resolution: "run-parallel@npm:1.2.0"
Expand Down

0 comments on commit f58e5ab

Please sign in to comment.