Skip to content
Merged
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
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ jobs:
run: npm install
- name: 💅 Lint code style
run: npm run lint
- name: 💻 Build
run: npm run build
- name: ✅ Run tests
run: npm run test

publish:
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
name: 📦 Publish
Expand Down
3 changes: 2 additions & 1 deletion tests/Step.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Primitives } from "../src";
import { ISODateTime } from "../src/Primitives";

export class Step {
constructor(
Expand All @@ -9,7 +10,7 @@ export class Step {
toPrimitives(): Primitives<Step> {
return {
name: this.name,
publishedAt: this.publishedAt.getTime(),
publishedAt: this.publishedAt.toISOString() as ISODateTime,
};
}
}