Skip to content

v1.8.2

v1.8.2 #504

Workflow file for this run

name: Build and Test
on:
push:
branches:
- coverage
- main
- 1.2.x
- 1.8.x
- fix
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install pnpm
run: npm install -g pnpm
- name: Build
run: |
pnpm i
pnpm run clean
pnpm --sequential --stream -r run build
pnpm --sequential --stream -r run build:lint
pnpm --sequential --stream -r run lint
pnpm run api
pnpm run test
# coverage upload stopped working randomly
# - name: Test
# run: pnpm run test:codecov
# - uses: codecov/codecov-action@v3
# if: matrix.node-version == '16.x'
# with:
# files: ./coverage/lcov.info
# name: codecov-umbrella
# fail_ci_if_error: true