Skip to content

Commit c7f87e8

Browse files
authored
fix: execute build on ci (#23)
1 parent 66b3571 commit c7f87e8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@ jobs:
2020
run: npm install
2121
- name: 💅 Lint code style
2222
run: npm run lint
23+
- name: 💻 Build
24+
run: npm run build
2325
- name: ✅ Run tests
2426
run: npm run test
27+
2528
publish:
2629
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
2730
name: 📦 Publish

tests/Step.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { Primitives } from "../src";
2+
import { ISODateTime } from "../src/Primitives";
23

34
export class Step {
45
constructor(
@@ -9,7 +10,7 @@ export class Step {
910
toPrimitives(): Primitives<Step> {
1011
return {
1112
name: this.name,
12-
publishedAt: this.publishedAt.getTime(),
13+
publishedAt: this.publishedAt.toISOString() as ISODateTime,
1314
};
1415
}
1516
}

0 commit comments

Comments
 (0)