Skip to content

ci(sync): clean untracked files before syncing to release branch (#44) #89

ci(sync): clean untracked files before syncing to release branch (#44)

ci(sync): clean untracked files before syncing to release branch (#44) #89

Workflow file for this run

name: Test
on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_dispatch:
jobs:
code-style-check:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Pnpm
run: npm install -g corepack@latest && corepack enable
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
cache: "pnpm"
- name: Install Dependencies
run: pnpm install
- name: Code Style Check
run: pnpm check
- name: Changeset Check
run: pnpm changeset status --since=origin/main
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Install Pnpm
run: npm i -g corepack@latest --force && corepack enable
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22.20.0
cache: "pnpm"
- name: Install Dependencies
run: pnpm install
- name: Run Tests
run: pnpm test