Skip to content

Commit b3970f3

Browse files
committed
chore: trigger github actions
1 parent 4682dac commit b3970f3

4 files changed

Lines changed: 8 additions & 5 deletions

File tree

‎.github/workflows/pipeline.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ run-name: Running CI/CD for event ${{github.event_name}} (Triggered by user ${{
44

55
on:
66
push:
7+
workflow_dispatch:
78

89
jobs:
910
spell-check-global:
@@ -144,7 +145,9 @@ jobs:
144145
run_install: true
145146

146147
- name: Building workspace dependencies
147-
run: pnpm --filter ts-predicate ci:build
148+
run: |
149+
pnpm --filter testing-ground ci:build
150+
pnpm --filter ts-predicate ci:build
148151
149152
- name: Package dependencies installation
150153
run: pnpm install --filter toolbox

‎packages/toolbox/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vitruvius-labs/toolbox",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"description": "Utility library",
55
"author": {
66
"name": "VitruviusLabs"

‎packages/toolbox/src/utility/singleton.mts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { ConstructorOf } from "@vitruvius-labs/ts-predicate";
22

3-
// eslint-disable-next-line @ts/no-unsafe-function-type -- TypeScript type the constructor property as Function
3+
// eslint-disable-next-line @ts/no-unsafe-function-type, @ts/no-use-before-define -- TypeScript type the constructor property as Function
44
const INSTANCES: Map<Function, Singleton> = new Map();
55

66
/**

‎packages/toolbox/test/utility/singleton.spec.mts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ describe("Singleton", (): void => {
88
it("should create an instance of the Singleton class and add it to the internal map.", (): void => {
99
class MySingleton extends Singleton {}
1010

11-
const INSTANCE: MySingleton = new MySingleton();
11+
const INSTANCE_1: MySingleton = new MySingleton();
1212

1313
const INSTANCE_2: MySingleton | undefined = MySingleton.GetInstance();
1414

15-
strictEqual(INSTANCE, INSTANCE_2);
15+
strictEqual(INSTANCE_1, INSTANCE_2);
1616
});
1717

1818
it("should throw an error when the constructor is called more than once.", (): void => {

0 commit comments

Comments
 (0)