Skip to content

Commit cfd8eae

Browse files
committed
wip
1 parent d9e82dc commit cfd8eae

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.github/workflows/lint-test.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Lint PRs
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize]
6+
7+
jobs:
8+
lint:
9+
runs-on: windows-latest
10+
11+
steps:
12+
- name: Check out repository
13+
uses: actions/checkout@v4
14+
15+
- name: Set up everything
16+
uses: ./.github/workflows/set-up-everything
17+
18+
- name: Lint
19+
run: yarn lint
20+
# TODO: Annotations of files that fail lint?
21+
# TODO: Maybe write up a job summary per https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary

workspaces/util/src/assertIsString.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ export function assertIsString(value: unknown): string {
66
invariant(isString(value), "Got non-string!");
77
return value;
88
}
9+
10+
let x;

0 commit comments

Comments
 (0)