Skip to content

ci: run test suite on windows #4128

ci: run test suite on windows

ci: run test suite on windows #4128

Workflow file for this run

name: ci
on:
push:
branches:
- main
- renovate/*
- renovate/*
- renovate/*
pull_request:
branches:
- main
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node: [18]
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: "pnpm"
- name: πŸ“¦ Install dependencies
run: pnpm install --frozen-lockfile
- name: 🚧 Set up project
run: pnpm dev:prepare
- name: πŸ’ͺ Test types
run: pnpm test:types
- name: πŸ›  Build project
run: pnpm build
- name: πŸ› Build playground
run: pnpm dev:build
- name: 🎨 Build studio
run: pnpm studio:build
- name: πŸ’ͺ Test built types
run: pnpm test:types
- name: πŸ§ͺ Test project
run: pnpm test
- name: 🟩 Coverage
if: matrix.os != 'windows-latest'
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}