Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI, Fix Build #143

Merged
merged 10 commits into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 8 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,34 +21,34 @@ jobs:
matrix: ${{ steps.set-matrix.outputs.matrix }}

steps:
- uses: actions/checkout@v2
- uses: NullVoxPopuli/action-setup-pnpm@v2
- uses: actions/checkout@v3
- uses: wyvox/action-setup-pnpm@v3

build:
name: "Build"
runs-on: "ubuntu-latest"
needs: ["install_dependencies"]
steps:
- uses: actions/checkout@v2
- uses: NullVoxPopuli/action-setup-pnpm@v2
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
- run: pnpm build

test:
name: "Tests"
runs-on: "ubuntu-latest"
needs: ["install_dependencies"]
steps:
- uses: actions/checkout@v2
- uses: NullVoxPopuli/action-setup-pnpm@v2
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
- run: pnpm ci:specs

test_prod:
name: "Tests (production)"
runs-on: "ubuntu-latest"
needs: ["install_dependencies"]
steps:
- uses: actions/checkout@v2
- uses: NullVoxPopuli/action-setup-pnpm@v2
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
- run: pnpm ci:prod

typecheck:
Expand All @@ -75,13 +75,3 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: ./node_modules/.bin/turbo run test:lint --continue

# Release automation is not active at this time
# ------------------
# release:
# name: Release
# runs-on: ubuntu-latest
# needs: ["install_dependencies", "lint", "typecheck", "test", "build"]

# steps:
# - uses: actions/checkout@v2
# - uses: NullVoxPopuli/action-setup-pnpm@v2
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@
]
},
"scripts": {
"build": "esyes ./workspace/scripts/index.ts build",
"build": "turbo build",
"check:unused": "esyes ./workspace/scripts/index.ts unused",
"ci:lint": "esyes ./workspace/scripts/index.ts ci --type lint -v",
"ci:prod": "vitest --pool forks --run --mode production",
"ci:specs": "vitest --pool forks --run",
"ci:types": "esyes ./workspace/scripts/index.ts ci --type types -v",
"demo": "esyes ./workspace/scripts/index.ts demo",
"dev": "esyes ./workspace/scripts/index.ts",
"lint:fix": "pnpm dev lint --fix",
"lint:fix": "pnpm --filter '*' test:lint --fix",
"prepack": "pnpm run build",
"release": "esyes ./workspace/scripts/index.ts release",
"test:workspace:lint": "turbo run lint --output-logs errors-only --log-prefix none",
Expand Down Expand Up @@ -126,7 +126,7 @@
"eslint-plugin-prettier": "^5.1.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-unused-imports": "^3.0.0",
"esyes": "^1.0.1",
"esyes": "^1.0.2",
"fast-glob": "^3.3.2",
"happy-dom": "^12.10.3",
"jsdom": "^23.0.1",
Expand Down
2 changes: 2 additions & 0 deletions packages/preact/preact-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"type": "library:public"
},
"scripts": {
"build": "rollup -c",
"prepack": "pnpm build",
"test:lint": "eslint . --max-warnings 0",
"test:specs": "vitest --run --pool forks",
"test:types": "tsc -b"
Expand Down
2 changes: 2 additions & 0 deletions packages/preact/preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
"type": "library:public"
},
"scripts": {
"build": "rollup -c",
"prepack": "pnpm build",
"test:lint": "eslint . --max-warnings 0",
"test:specs": "vitest --run --pool forks",
"test:types": "tsc -b"
Expand Down
2 changes: 2 additions & 0 deletions packages/react/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"type": "library:public"
},
"scripts": {
"build": "rollup -c",
"prepack": "pnpm build",
"test:lint": "eslint . --max-warnings 0",
"test:specs": "vitest --run --pool forks",
"test:types": "tsc -b"
Expand Down
2 changes: 2 additions & 0 deletions packages/react/use-strict-lifecycle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@
"type": "library:public"
},
"scripts": {
"build": "rollup -c",
"doc": "node ./scripts/doc.js",
"doc:all": "node ./scripts/docs.js",
"doc:readme": "node ./scripts/doc.js README",
"doc:theory": "node ./scripts/doc.js THEORY",
"prepack": "pnpm build",
"test:lint": "eslint . --max-warnings 0",
"test:specs": "vitest --run --pool forks",
"test:types": "tsc -b"
Expand Down
2 changes: 2 additions & 0 deletions packages/universal/collections/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
"type": "library:public"
},
"scripts": {
"build": "rollup -c",
"prepack": "pnpm build",
"test:lint": "eslint . --max-warnings 0",
"test:specs": "vitest --run --pool forks",
"test:types": "tsc -b"
Expand Down
2 changes: 2 additions & 0 deletions packages/universal/core-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"type": "library:public"
},
"scripts": {
"build": "rollup -c",
"prepack": "pnpm build",
"test:lint": "eslint . --max-warnings 0",
"test:specs": "vitest --run --pool forks",
"test:types": "tsc -b"
Expand Down
3 changes: 1 addition & 2 deletions packages/universal/core-utils/tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
"test:types": "tsc -b"
},
"dependencies": {
"@starbeam/core-utils": "workspace:^",
"@type-utils/json": ""
"@starbeam/core-utils": "workspace:^"
},
"devDependencies": {
"@starbeam-dev/eslint-plugin": "^1.0.4"
Expand Down
2 changes: 2 additions & 0 deletions packages/universal/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"type": "library:public"
},
"scripts": {
"build": "rollup -c",
"prepack": "pnpm build",
"test:lint": "eslint . --max-warnings 0",
"test:types": "tsc -b"
},
Expand Down
2 changes: 2 additions & 0 deletions packages/universal/debug/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
"type": "library:public"
},
"scripts": {
"build": "rollup -c",
"prepack": "pnpm build",
"test:lint": "eslint . --max-warnings 0",
"test:specs": "vitest --run --pool forks",
"test:types": "tsc -b"
Expand Down
2 changes: 2 additions & 0 deletions packages/universal/modifier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"type": "library:public"
},
"scripts": {
"build": "rollup -c",
"prepack": "pnpm build",
"test:lint": "eslint . --max-warnings 0",
"test:types": "tsc -b"
},
Expand Down
2 changes: 2 additions & 0 deletions packages/universal/reactive/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"type": "library:public"
},
"scripts": {
"build": "rollup -c",
"prepack": "pnpm build",
"test:lint": "eslint . --max-warnings 0",
"test:specs": "vitest --run --pool forks",
"test:types": "tsc -b"
Expand Down
2 changes: 2 additions & 0 deletions packages/universal/renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"type": "library:public"
},
"scripts": {
"build": "rollup -c",
"prepack": "pnpm build",
"test:lint": "eslint . --max-warnings 0",
"test:specs": "vitest --run --pool forks",
"test:types": "tsc -b"
Expand Down
2 changes: 2 additions & 0 deletions packages/universal/resource/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
"type": "library:public"
},
"scripts": {
"build": "rollup -c",
"prepack": "pnpm build",
"test:lint": "eslint . --max-warnings 0",
"test:specs": "vitest --run --pool forks",
"test:types": "tsc -b"
Expand Down
2 changes: 2 additions & 0 deletions packages/universal/runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"type": "library:public"
},
"scripts": {
"build": "rollup -c",
"prepack": "pnpm build",
"test:lint": "eslint . --max-warnings 0",
"test:specs": "vitest --run --pool forks",
"test:types": "tsc -b"
Expand Down
2 changes: 2 additions & 0 deletions packages/universal/service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
"type": "library:public"
},
"scripts": {
"build": "rollup -c",
"prepack": "pnpm build",
"test:lint": "eslint . --max-warnings 0",
"test:specs": "vitest --run --pool forks",
"test:types": "tsc -b"
Expand Down
2 changes: 2 additions & 0 deletions packages/universal/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"type": "library:public"
},
"scripts": {
"build": "rollup -c",
"prepack": "pnpm build",
"test:lint": "eslint . --max-warnings 0",
"test:specs": "vitest --run --pool forks",
"test:types": "tsc -b"
Expand Down
2 changes: 2 additions & 0 deletions packages/universal/tags/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"type": "library:public"
},
"scripts": {
"build": "rollup -c",
"prepack": "pnpm build",
"test:lint": "eslint . --max-warnings 0",
"test:types": "tsc -b"
},
Expand Down
2 changes: 2 additions & 0 deletions packages/universal/universal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"type": "library:public"
},
"scripts": {
"build": "rollup -c",
"prepack": "pnpm build",
"test:lint": "eslint . --max-warnings 0",
"test:specs": "vitest --run --pool forks",
"test:types": "tsc -b"
Expand Down
2 changes: 2 additions & 0 deletions packages/universal/verify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"type": "library:public"
},
"scripts": {
"build": "rollup -c",
"prepack": "pnpm build",
"test:lint": "eslint . --max-warnings 0",
"test:specs": "vitest --run --pool forks",
"test:types": "tsc -b"
Expand Down
2 changes: 2 additions & 0 deletions packages/vue/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
"type": "library:public"
},
"scripts": {
"build": "rollup -c",
"prepack": "pnpm build",
"test:lint": "eslint . --max-warnings 0",
"test:specs": "vitest --run --pool forks",
"test:types": "tsc -b"
Expand Down
2 changes: 2 additions & 0 deletions packages/x/store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"type": "library:public"
},
"scripts": {
"build": "rollup -c",
"prepack": "pnpm build",
"test:lint": "eslint . --max-warnings 0",
"test:specs": "vitest --run --pool forks",
"test:types": "tsc -b"
Expand Down
2 changes: 2 additions & 0 deletions packages/x/vanilla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"type": "library:public"
},
"scripts": {
"build": "rollup -c",
"prepack": "pnpm build",
"test:lint": "eslint . --max-warnings 0",
"test:specs": "vitest --run --pool forks",
"test:types": "tsc -b"
Expand Down
Loading