Skip to content

Commit 4a023e5

Browse files
committed
ci: 🎡 publish teset coverage stats
1 parent d8c078b commit 4a023e5

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Node.js CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
7+
jobs:
8+
gh-pages:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
node-version: [20.x]
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Use Node.js ${{ matrix.node-version }}
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: ${{ matrix.node-version }}
19+
cache: yarn
20+
- run: yarn install --frozen-lockfile
21+
- run: yarn test --coverage
22+
- name: Publish to gh-pages
23+
uses: peaceiris/actions-gh-pages@v3
24+
with:
25+
github_token: ${{ secrets.GITHUB_TOKEN }}
26+
publish_dir: ./coverage/lcov-report

0 commit comments

Comments
 (0)