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

Add CI (lints and tests) #9

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI

on:
push:
branches:
- main
- master
pull_request: {}

concurrency:
group: ci-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
lint:
name: "Lint and Test"
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- uses: wyvox/action@v1
- run: pnpm turbo test lint
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,9 @@
"repository": {
"type": "git",
"url": "[email protected]:starbeamjs/starbeam-lite.git"
},
"volta": {
"node": "20.12.1",
"pnpm": "8.15.6"
}
}
2 changes: 1 addition & 1 deletion packages/@starbeam-lite/core/src/primitives/formula.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { TAG } from "@starbeam-lite/shared";
import type { MutableTag } from "./cell.js";
import { initialized, start, updated } from "./runtime.js";
import type { Subscription } from "./subscriptions.js";
import type { Tag, Tagged, TagSnapshot } from "./tag.js";
import type { Tagged, TagSnapshot } from "./tag.js";

/**
* A formula tag represents the validation state of a formula.
Expand Down
Loading