test: add bun test scaffold

Reviewed-on: http://charon.local/git/xen/tf2wikipricing/pulls/4
This commit is contained in:
Xen
2025-03-24 13:43:31 -04:00
5 changed files with 8 additions and 1 deletions
+2
View File
@@ -19,6 +19,8 @@ jobs:
uses: actions/[email protected]
- name: Install dependencies
run: bun install
- name: Test project
run: bun test
- name: Build project
run: bun run build
- name: Archive production artifacts
+2
View File
@@ -19,6 +19,8 @@ jobs:
id: version
- name: Install dependencies
run: bun install
- name: Test project
run: bun test
- name: Build project
run: bun run build
- name: Archive production artifacts
BIN
View File
Binary file not shown.
+2
View File
@@ -6,8 +6,10 @@
"@types/firefox-webext-browser": "^120.0.4",
"@types/greasemonkey": "^4.0.7",
"@types/html": "^1.0.4",
"@types/jest": "^29.5.14",
"browserify-fs": "^1.0.0",
"buffer": "^6.0.3",
"bun-types": "^1.2.5",
"copy-webpack-plugin": "^12.0.2",
"path-browserify": "^1.0.1",
"raw-loader": "^4.0.2",
+2 -1
View File
@@ -9,6 +9,7 @@
"allowJs": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true
"allowSyntheticDefaultImports": true,
"types": ["bun-types", "jest", "greasemonkey", "firefox-webext-browser"]
}
}