Skip to content

Commit

Permalink
Revert type import, add tests to CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Oct 21, 2024
1 parent 68055b0 commit 19babed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ jobs:

- name: Build
run: npm run build

- name: Test
run: npm test
docs:
needs: ci
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"format:check": "prettier --check .",
"format": "prettier --write .",
"lint": "tsc --noEmit && eslint src",
"test": "tsx --test",
"build": "tsc -p tsconfig.json",
"build:docs": "typedoc",
"prepublishOnly": "npm run build"
Expand Down
1 change: 0 additions & 1 deletion src/internal/struct.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { ClassLike } from '../types.js';
import type * as primitive from './primitives.js';
import './struct-symbols.js';

// @ts-expect-error 2322
Symbol.struct_init ||= Symbol('struct_init');
Expand Down

0 comments on commit 19babed

Please sign in to comment.