test: add bun test scaffold

This commit is contained in:
xenticore
2025-03-24 13:33:14 -04:00
parent cdf22afb96
commit 2943253dd7
5 changed files with 8 additions and 1 deletions

View File

@@ -19,6 +19,8 @@ jobs:
uses: actions/checkout@v4.1.2 uses: actions/checkout@v4.1.2
- name: Install dependencies - name: Install dependencies
run: bun install run: bun install
- name: Test project
run: bun test
- name: Build project - name: Build project
run: bun run build run: bun run build
- name: Archive production artifacts - name: Archive production artifacts

View File

@@ -19,6 +19,8 @@ jobs:
id: version id: version
- name: Install dependencies - name: Install dependencies
run: bun install run: bun install
- name: Test project
run: bun test
- name: Build project - name: Build project
run: bun run build run: bun run build
- name: Archive production artifacts - name: Archive production artifacts

BIN
bun.lockb

Binary file not shown.

View File

@@ -6,8 +6,10 @@
"@types/firefox-webext-browser": "^120.0.4", "@types/firefox-webext-browser": "^120.0.4",
"@types/greasemonkey": "^4.0.7", "@types/greasemonkey": "^4.0.7",
"@types/html": "^1.0.4", "@types/html": "^1.0.4",
"@types/jest": "^29.5.14",
"browserify-fs": "^1.0.0", "browserify-fs": "^1.0.0",
"buffer": "^6.0.3", "buffer": "^6.0.3",
"bun-types": "^1.2.5",
"copy-webpack-plugin": "^12.0.2", "copy-webpack-plugin": "^12.0.2",
"path-browserify": "^1.0.1", "path-browserify": "^1.0.1",
"raw-loader": "^4.0.2", "raw-loader": "^4.0.2",

View File

@@ -9,6 +9,7 @@
"allowJs": true, "allowJs": true,
"moduleResolution": "node", "moduleResolution": "node",
"resolveJsonModule": true, "resolveJsonModule": true,
"allowSyntheticDefaultImports": true "allowSyntheticDefaultImports": true,
"types": ["bun-types", "jest", "greasemonkey", "firefox-webext-browser"]
} }
} }