Skip to content

refactor: cleanup and migrate to new build system #21

refactor: cleanup and migrate to new build system

refactor: cleanup and migrate to new build system #21

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
environment: actions
strategy:
matrix:
node-version: [16.x, 18.x, 19.x, 20.x]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run the tests
run: pnpm test
run: yarn test --ci --coverage --maxWorkers=2

Check failure on line 37 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 37, Col: 9): 'run' is already defined