blob: d145753585355fe8ac508a9f908451cc7687cbb2 [file] [log] [blame]
86133aaa3f5d2025-04-20 21:33:29 +08001name: coverage CI
2
3on: [push, pull_request]
4
5permissions:
6 contents: read
7
8jobs:
9 build:
10 runs-on: ubuntu-latest
11 steps:
12 - uses: actions/checkout@v1
13 - name: Use Node.js 16.x
14 uses: actions/setup-node@v1
15 with:
16 node-version: 16.x
17 - run: echo ${{github.ref}}
18 - run: curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm@7
19 - run: pnpm config set store-dir ~/.pnpm-store
20 - run: pnpm install --strict-peer-dependencies=false
21 - run: yarn run test:coverage
22 env:
23 CI: true
24 PROGRESS: none
25 NODE_ENV: test
26 NODE_OPTIONS: --max_old_space_size=4096
27 - run: bash <(curl -s https://codecov.io/bash)