Skip to content

Commit e61f231

Browse files
committed
ok
1 parent 4acd0ec commit e61f231

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,27 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v5
2626

27+
- name: Setup Node.js
28+
uses: actions/setup-node@v6
29+
with:
30+
node-version: '20'
31+
cache: 'yarn'
32+
2733
- name: install
2834
run: yarn
2935

3036
- name: build
3137
run: yarn run build
3238

3339
- name: test
34-
run: yarn run test
40+
run: yarn run test:ci
3541

3642
- name: Coverage report
3743
if: github.event_name == 'pull_request'
3844
uses: xseman/coverage@v0.2.0
3945
with:
4046
coverage-artifact-paths: |
41-
bun:coverage/lcov.info
47+
coverage/lcov.info
4248
4349
lint:
4450
runs-on: ubuntu-latest

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"test": "node --import tsx --test tests/**/**.test.ts",
1717
"testbis": "nyc node --import tsx --experimental-test-coverage --test tests/**/**.test.ts",
1818
"test:coverage": "yarn testbis && nyc report --reporter=html && open coverage/index.html",
19+
"test:ci": "yarn testbis && nyc report --reporter=lcov",
1920
"lint": "prettier --write . && eslint --fix ."
2021
},
2122
"engines": {

0 commit comments

Comments
 (0)