Skip to content

Commit

Permalink
ci: ci plan
Browse files Browse the repository at this point in the history
  • Loading branch information
hywax committed Jan 29, 2024
1 parent a92c000 commit ff3e817
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: CI

on:
push:
paths-ignore:
- "docs/**"
- ".md"
branches:
- main
pull_request:
paths-ignore:
- "docs/**"
- "*.md"
branches:
- main

jobs:
build:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Corepack
run: corepack enable

- name: Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm

- name: Install dependencies
run: pnpm install

- name: ESLint
run: pnpm run lint

- name: Types
run: pnpm run typecheck

- name: Build
run: pnpm run build

0 comments on commit ff3e817

Please sign in to comment.