mirror of https://github.com/curbengh/hexo-yam
ci: switch to npm for tester workflow
difficulty installing zstd using bun
This commit is contained in:
parent
4460f10933
commit
d32e929e88
|
|
@ -12,8 +12,6 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install Bun
|
|
||||||
uses: oven-sh/setup-bun@v2
|
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
|
|
@ -26,16 +24,10 @@ jobs:
|
||||||
restore-keys: ${{ runner.os }}-npm-cache
|
restore-keys: ${{ runner.os }}-npm-cache
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: |
|
run: |
|
||||||
bun install
|
npm install
|
||||||
bun install --dev jest-circus
|
npm install --save-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
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: bun run test
|
run: npm run test
|
||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
- name: Upload coverage report to Codecov
|
- name: Upload coverage report to Codecov
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,6 @@
|
||||||
"terser": "^5.3.0",
|
"terser": "^5.3.0",
|
||||||
"@mongodb-js/zstd": "^2.0.1"
|
"@mongodb-js/zstd": "^2.0.1"
|
||||||
},
|
},
|
||||||
"trustedDependencies": ["@mongodb-js/zstd"],
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"hexo": "^7.1.0",
|
"hexo": "^7.1.0",
|
||||||
"jest": "^30.0.4",
|
"jest": "^30.0.4",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue