Skip to content

[Release] 3.0.0-beta.0 #1711

[Release] 3.0.0-beta.0

[Release] 3.0.0-beta.0 #1711

Workflow file for this run

name: tests
on:
push:
branches:
- master
- develop
pull_request:
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
code-quality:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm install
- name: Run code quality tests
run: npm run lint:oxlint
- name: Run types tests
run: npm run lint:types
unit:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm install
- name: Run tests
run: npm run test -- -- --retry=3 --coverage.enabled
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
files: ./packages/coverage/clover.xml
flags: unittests
fail_ci_if_error: false
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}