Skip to content

Commit

Permalink
Fix Bug
Browse files Browse the repository at this point in the history
Fix an issue where the build names were not in sync.
Updated the VS Code config to match.
  • Loading branch information
elliot-huffman committed Aug 29, 2024
1 parent 1fc4426 commit adba9f7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/NPM-Publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:

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

# Run all of the Unit Tests
- name: Runt Unit Tests
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Unit-Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:

# Transpile the TypeScript files to JS
- name: Build Server
run: npm run-script build
run: npm run-script build:Dev

# Run the discovered tests against the source code
- name: Run Tests
run: npm run-script test
run: npm run-script test:Unit
8 changes: 4 additions & 4 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"request": "launch",
"runtimeArgs": [
"run-script",
"build"
"build:Dev"
],
"runtimeExecutable": "npm",
"skipFiles": [
Expand All @@ -23,13 +23,13 @@
"request": "launch",
"runtimeArgs": [
"run-script",
"test"
"test:Unit"
],
"preLaunchTask": "npm: build",
"preLaunchTask": "npm: build:Dev",
"runtimeExecutable": "npm",
"skipFiles": [
"<node_internals>/**"
]
}
]
}
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"type": "module",
"scripts": {
"start": "node ./bin/index.mjs",
"build": "tsc",
"build:prod": "tsc --sourceMap false",
"test": "mocha",
"build:Dev": "tsc",
"build:Prod": "tsc --sourceMap false",
"test:Unit": "mocha",
"lint": "eslint --max-warnings 0"
},
"keywords": [
Expand Down

0 comments on commit adba9f7

Please sign in to comment.