|
|
|
@ -9,19 +9,13 @@ jobs: |
|
|
|
build: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v1 |
|
|
|
- name: Use Node.js 16.x |
|
|
|
uses: actions/setup-node@v1 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
- name: Use Node.js 20 |
|
|
|
uses: actions/setup-node@v4 |
|
|
|
with: |
|
|
|
node-version: 16.x |
|
|
|
node-version: 20 |
|
|
|
- run: echo ${{github.ref}} |
|
|
|
- run: curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm@7 |
|
|
|
- run: pnpm config set store-dir ~/.pnpm-store |
|
|
|
- run: pnpm install --strict-peer-dependencies=false |
|
|
|
- run: yarn run test:coverage |
|
|
|
env: |
|
|
|
CI: true |
|
|
|
PROGRESS: none |
|
|
|
NODE_ENV: test |
|
|
|
NODE_OPTIONS: --max_old_space_size=4096 |
|
|
|
- run: bash <(curl -s https://codecov.io/bash) |
|
|
|
- uses: oven-sh/setup-bun@v2 |
|
|
|
- run: bun install |
|
|
|
- run: bun run test:coverage |
|
|
|
- uses: codecov/codecov-action@v5 |
|
|
|
|