Skip to content

Commit adba9f7

Browse files
Fix Bug
Fix an issue where the build names were not in sync. Updated the VS Code config to match.
1 parent 1fc4426 commit adba9f7

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.github/workflows/NPM-Publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161

6262
# Compile the Typescript files to JS
6363
- name: Build Project in Development Mode
64-
run: npm run-script build:Dev
64+
run: npm run-script build:Prod
6565

6666
# Run all of the Unit Tests
6767
- name: Runt Unit Tests

.github/workflows/Unit-Test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ jobs:
4343

4444
# Transpile the TypeScript files to JS
4545
- name: Build Server
46-
run: npm run-script build
46+
run: npm run-script build:Dev
4747

4848
# Run the discovered tests against the source code
4949
- name: Run Tests
50-
run: npm run-script test
50+
run: npm run-script test:Unit

.vscode/launch.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"request": "launch",
1111
"runtimeArgs": [
1212
"run-script",
13-
"build"
13+
"build:Dev"
1414
],
1515
"runtimeExecutable": "npm",
1616
"skipFiles": [
@@ -23,13 +23,13 @@
2323
"request": "launch",
2424
"runtimeArgs": [
2525
"run-script",
26-
"test"
26+
"test:Unit"
2727
],
28-
"preLaunchTask": "npm: build",
28+
"preLaunchTask": "npm: build:Dev",
2929
"runtimeExecutable": "npm",
3030
"skipFiles": [
3131
"<node_internals>/**"
3232
]
3333
}
3434
]
35-
}
35+
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"type": "module",
77
"scripts": {
88
"start": "node ./bin/index.mjs",
9-
"build": "tsc",
10-
"build:prod": "tsc --sourceMap false",
11-
"test": "mocha",
9+
"build:Dev": "tsc",
10+
"build:Prod": "tsc --sourceMap false",
11+
"test:Unit": "mocha",
1212
"lint": "eslint --max-warnings 0"
1313
},
1414
"keywords": [

0 commit comments

Comments
 (0)