Skip to content

Merge branch 'master' of github.com:wangdicoder/tiny-design #88

Merge branch 'master' of github.com:wangdicoder/tiny-design

Merge branch 'master' of github.com:wangdicoder/tiny-design #88

Workflow file for this run

name: CI

Check failure on line 1 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

(Line: 8, Col: 5): you may only define one of `branches` and `branches-ignore` for a single event
on:
push:
branches: [master]
pull_request:
branches: [master]
branches-ignore:
- changeset-release/master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22]
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm lint
- name: Build
run: pnpm build
- name: Test
run: pnpm test -- --coverage