We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66b3571 commit c7f87e8Copy full SHA for c7f87e8
.github/workflows/ci.yml
@@ -20,8 +20,11 @@ jobs:
20
run: npm install
21
- name: 💅 Lint code style
22
run: npm run lint
23
+ - name: 💻 Build
24
+ run: npm run build
25
- name: ✅ Run tests
26
run: npm run test
27
+
28
publish:
29
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
30
name: 📦 Publish
tests/Step.ts
@@ -1,4 +1,5 @@
1
import { Primitives } from "../src";
2
+import { ISODateTime } from "../src/Primitives";
3
4
export class Step {
5
constructor(
@@ -9,7 +10,7 @@ export class Step {
9
10
toPrimitives(): Primitives<Step> {
11
return {
12
name: this.name,
- publishedAt: this.publishedAt.getTime(),
13
+ publishedAt: this.publishedAt.toISOString() as ISODateTime,
14
};
15
}
16
0 commit comments