-
Notifications
You must be signed in to change notification settings - Fork 10
39 lines (39 loc) · 1.1 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: ci
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
permissions:
contents: write
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: npm
node-version: '20.x'
- run: npm ci
- run: npm run lint
- run: npm run format:check
- run: npm test -- --coverage
- uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 #v4.5.0
with:
file: coverage/lcov.info
disable_search: true
use_oidc: true
- run: npm run build
- run: npm run docs
- run: npm run benchmark
- uses: benchmark-action/github-action-benchmark@d48d326b4ca9ba73ca0cd0d59f108f9e02a381c7 #v1.20.4
with:
name: Tansu benchmarks
tool: 'customBiggerIsBetter'
output-file-path: benchmarks.json
auto-push: ${{ github.event_name == 'push' }}
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-on-alert: true
summary-always: true