ci: switch to npm for tester workflow

difficulty installing zstd using bun
This commit is contained in:
MDLeom 2025-07-17 12:13:14 +00:00
parent 4460f10933
commit d32e929e88
No known key found for this signature in database
GPG Key ID: 06C236E63CBC68AA
2 changed files with 3 additions and 12 deletions

View File

@ -12,8 +12,6 @@ jobs:
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Install Bun
uses: oven-sh/setup-bun@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
@ -26,16 +24,10 @@ jobs:
restore-keys: ${{ runner.os }}-npm-cache
- name: Install Dependencies
run: |
bun install
bun install --dev jest-circus
- name: Install @unrs/resolver-binding
if: matrix.os == 'ubuntu-latest'
run: bun install --dev @unrs/resolver-binding-linux-x64-gnu
- name: Show deps structure
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20'
run: find /home/runner/work/hexo-yam/ -type d
npm install
npm install --save-dev jest-circus
- name: Test
run: bun run test
run: npm run test
env:
CI: true
- name: Upload coverage report to Codecov

View File

@ -34,7 +34,6 @@
"terser": "^5.3.0",
"@mongodb-js/zstd": "^2.0.1"
},
"trustedDependencies": ["@mongodb-js/zstd"],
"devDependencies": {
"hexo": "^7.1.0",
"jest": "^30.0.4",