Skip to content

Merge pull request #25 from zolplay-cn/dev #129

Merge pull request #25 from zolplay-cn/dev

Merge pull request #25 from zolplay-cn/dev #129

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install deps
run: pnpm install --frozen-lockfile
- run: pnpm type-check
- run: pnpm lint --max-warnings 0